mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-03 10:20:49 +02:00
builtins now return success if supplied --help; use groff to build HTML man pages; reset mbstate if $'...' strings read an invalid multibyte sequence; read -t 0 now looks at other options (-n/-N/-d) and sets the terminal state appropriately
This commit is contained in:
@@ -4187,6 +4187,12 @@ Other builtins that accept arguments but are not specified as accepting
|
||||
options interpret arguments beginning with @samp{-} as invalid options and
|
||||
require @samp{--} to prevent this interpretation.
|
||||
|
||||
All builtins except
|
||||
@code{:}, @code{true}, @code{false}, @code{echo}, and @code{test}/@code{[}
|
||||
accept @samp{--help} as a special option.
|
||||
If @samp{--help} is supplied, these builtins output
|
||||
a help message and exit with a status of 0.
|
||||
|
||||
@node Bourne Shell Builtins
|
||||
@section Bourne Shell Builtins
|
||||
|
||||
|
||||
Reference in New Issue
Block a user