mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
doc: tty: mention the removal of the -s option from POSIX
* doc/coreutils.texi (tty invocation): Mention that POSIX.1-2001 removed the -s option and that portable scripts can redirect standard out to /dev/null instead.
This commit is contained in:
1 parent
fcccbab0fb
commit
c8b296683f
1 file changed
+2
@@ -15403,6 +15403,8 @@ The program accepts the following option. Also see @ref{Common options}.
|
||||
@optItemx{tty,--quiet,}
|
||||
Print nothing; only return an exit status.
|
||||
|
||||
POSIX.1-2001 removed the @option{-s} option. Portable shell scripts
|
||||
should redirect standard output to @file{/dev/null} instead.
|
||||
@end table
|
||||
|
||||
@cindex exit status of @command{tty}
|
||||
|
||||
Reference in new issue
Block a user