From: Collin Funk Date: Sat, 28 Mar 2026 05:45:56 +0000 (-0700) Subject: doc: tty: mention the removal of the -s option from POSIX X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8b296683f70fae3dbf609b7671a17f8aca346c5;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index acbb5454a2..5fe87ace5c 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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}