mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
885d16fcd6
darcs-hash:20061031152316-ac50b-e68db9853d6e9461a0c054f1ea290704ccfc0a31.gz
13 lines
376 B
Plaintext
13 lines
376 B
Plaintext
\section isatty isatty - test if the specidied 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.
|
|
|
|
|