mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
io redirection docs
This commit is contained in:
parent
9972fefe3e
commit
1a76d47c66
1 changed files with 0 additions and 4 deletions
|
@ -481,7 +481,6 @@ exist:
|
||||||
|
|
||||||
.. code-block:: xonshcon
|
.. code-block:: xonshcon
|
||||||
|
|
||||||
>>> # The following redirect stdout to a file
|
|
||||||
>>> COMMAND > output.txt
|
>>> COMMAND > output.txt
|
||||||
>>> COMMAND out> output.txt
|
>>> COMMAND out> output.txt
|
||||||
>>> COMMAND o> output.txt
|
>>> COMMAND o> output.txt
|
||||||
|
@ -500,7 +499,6 @@ exist:
|
||||||
|
|
||||||
.. code-block:: xonshcon
|
.. code-block:: xonshcon
|
||||||
|
|
||||||
>>> # The following redirect stderr to a file
|
|
||||||
>>> COMMAND err> errors.txt
|
>>> COMMAND err> errors.txt
|
||||||
>>> COMMAND e> errors.txt
|
>>> COMMAND e> errors.txt
|
||||||
>>> COMMAND 2> errors.txt # included for Bash compatability
|
>>> COMMAND 2> errors.txt # included for Bash compatability
|
||||||
|
@ -517,7 +515,6 @@ that task:
|
||||||
|
|
||||||
.. code-block:: xonshcon
|
.. code-block:: xonshcon
|
||||||
|
|
||||||
>>> # The following redirect both stdout and stderr to a file
|
|
||||||
>>> COMMAND all> combined.txt
|
>>> COMMAND all> combined.txt
|
||||||
>>> COMMAND a> combined.txt
|
>>> COMMAND a> combined.txt
|
||||||
>>> COMMAND &> combined.txt # included for Bash compatability
|
>>> COMMAND &> combined.txt # included for Bash compatability
|
||||||
|
@ -534,7 +531,6 @@ with the following syntax:
|
||||||
>>> COMMAND e>o
|
>>> COMMAND e>o
|
||||||
>>> COMMAND 2>&1 # included for Bash compatability
|
>>> COMMAND 2>&1 # included for Bash compatability
|
||||||
|
|
||||||
|
|
||||||
This merge can be combined with other redirections, including pipes (see the
|
This merge can be combined with other redirections, including pipes (see the
|
||||||
section on `Pipes`_ above):
|
section on `Pipes`_ above):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue