fix cosmetic error when printing if commands containing here-documents in the body; compiling -DSTRICT_POSIX now forces posix-mode shells to expand redirections before assignment statements preceding simple commands

This commit is contained in:
Chet Ramey
2026-03-03 11:14:10 -05:00
parent 044c1acc91
commit d0b41c2c5f
60 changed files with 526 additions and 7259 deletions
+4 -4
View File
@@ -29,8 +29,8 @@ Read and execute commands from FILENAME in the current shell. If the
-p option is supplied, the PATH argument is treated as a colon-
separated list of directories to search for FILENAME. If -p is not
supplied, and the sourcepath shell option is enabled, 'source' searches
$PATH to find FILENAME. If any ARGUMENTS are supplied, they become the
positional parameters when FILENAME is executed.
the directories in $PATH to find FILENAME. If any ARGUMENTS are supplied,
they become the positional parameters when FILENAME is executed.
Exit Status:
Returns the status of the last command executed in FILENAME; fails if
@@ -47,8 +47,8 @@ Read and execute commands from FILENAME in the current shell. If the
-p option is supplied, the PATH argument is treated as a colon-
separated list of directories to search for FILENAME. If -p is not
supplied, and the sourcepath shell option is enabled, '.' searches
$PATH to find FILENAME. If any ARGUMENTS are supplied, they become the
positional parameters when FILENAME is executed.
the directories in $PATH to find FILENAME. If any ARGUMENTS are supplied,
they become the positional parameters when FILENAME is executed.
Exit Status:
Returns the status of the last command executed in FILENAME; fails if