mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 10:01:14 -03:00
small typo in the tutorial. stderr is redirected using 2> rather than >2
This commit is contained in:
committed by
Fabian Homborg
parent
1c3fe7dc66
commit
8e41e3337c
@@ -172,7 +172,7 @@ You can pipe between commands with the usual vertical bar:
|
|||||||
<outp> 1 2 12</outp>
|
<outp> 1 2 12</outp>
|
||||||
\endfish
|
\endfish
|
||||||
|
|
||||||
stdin and stdout can be redirected via the familiar < and >. stderr is redirected with a >2.
|
stdin and stdout can be redirected via the familiar < and >. stderr is redirected with a 2>.
|
||||||
|
|
||||||
\fish{cli-dark}
|
\fish{cli-dark}
|
||||||
>_ grep fish < /etc/shells > ~/output.txt 2> ~/errors.txt
|
>_ grep fish < /etc/shells > ~/output.txt 2> ~/errors.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user