mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 22:34:29 +08:00
be0bd50bad
darcs-hash:20070127141215-ac50b-d15c657b62862841df80c55095a05e9c38086a11.gz
13 lines
376 B
Plaintext
13 lines
376 B
Plaintext
\section isatty isatty - test if the specified file descriptor is a tty
|
|
|
|
\subsection isatty-synopsis Synopsis
|
|
<tt>isatty [FILE DESCRIPTOR]</tt>
|
|
|
|
where FILE DESCRIPTOR may be either the number of a file descriptor, or one
|
|
of the strings stdin, stdout and stderr.
|
|
|
|
If the specified file descriptor is a tty, the exit status of the
|
|
command is zero, otherwise, it is non-zero.
|
|
|
|
|