[go: up one dir, main page]

Menu

[267579]: / man / en_US / dos9.tea  Maximize  Restore  History

Download this file

92 lines (63 with data), 3.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#
# Dos9 Manual pages, The Dos9 project
# Copyright (C) 2012-2015 Romain Garbi (DarkBatcher)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
{{Dos9 command}}
{Dos9} is a free, cross-platform command prompt used for batch scripts
and command processing.
{Dos9} is a free software, designed to be as compatible as possible with
{cmd.exe} proprietary software from {Microsoft}.
{{Synopsis}}
${ DOS9 [/A[:]attr] [/i input] [/o output] [file] [/ commande | /k command]}
Run a command file or wait for an user input.
- {file} : Path of the batch script to be run.
- {/c command} : Run {command} and exit {Dos9}.
- {/k command} : Run {command} and stay active.
- {/A[:]attr} : Some attributes to set {Dos9} behaviour:
@-- {v} : Enables {spec/var|delayed expansion}.
@-- {c} : Enables {CMDLYCORRECT} option from the {setlocal|SETLOCAL}
command. This forces {cmd.exe} compatible mode.
@-- {f} : Enables {spec/exp|floating numbers}.
@-- {e} : Disable current directory echoing.
@-- {q} : Run Dos9 quietly (ie. does not show the intro screen
at startup).
- {/i input} : redirects standard input to file descriptor
{input}.
- {/o output} : redirects standard output to file descriptor
{output}.
{{Compatibility}}
Compatible with any version of {Dos9}. Incompatible with
{cmd.exe}.
{Dos9} is cross-platform so that it can be run either on {MS-WINDOWS}
or {GNU/Linux}. Moreover, Dos9 should be easily portable to operating
systems that support either {POSIX} (and define {_POSIX_C_SOURCE}) or
a {MS-WINDOWS} compatible API, including any POSIX-compatible function
that is provided by it.
{{License}}
{Dos9} is a free software distributed under
{http://www.gnu.org/licenses/gpl.html|GNU General Public License} terms. For more
informations about free software's philosophy, see
{http://www.fsf.org|Free Software Fundation's} website.
{{Author}}
{Dos9} have been written since 2010 by {Darkbatcher (Romain Garbi)}. It uses severals
helpful free libraries from the {http://www.gnu.org/|GNU operating system}, mostly
{http://www.gnu.org/software/libmatheval/|libmatheval}, {https://www.gnu.org/software/gettext/|gettext}.
Dos9 uses a few open-source project. Theses project include GNU Iconv,
GNU Gettext, GNU libmatheval, and linenoise. Dos9 also includes a few
functions from {darkbox} by TSnake41.
{{See Also}}
{echo|ECHO Command},
{commands|Commands list}