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:
Chet Ramey
2025-10-01 10:44:10 -04:00
parent cf8a2518c8
commit fbd078be0a
35 changed files with 1666 additions and 1479 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ no_options (WORD_LIST *list)
if (opt == GETOPT_HELP)
{
builtin_help ();
return (2);
return (EX_HELPOPT);
}
builtin_usage ();
return (1);