Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/sh



Module Name:    src
Committed By:   kre
Date:           Mon Jul 24 14:17:12 UTC 2017

Modified Files:
        src/bin/sh: jobs.c option.list sh.1

Log Message:
Implement the "pipefail" option (same semantics as in other shells)
to cause (when set, which it is not by default) the exit status of a
pipe to be 0 iff all commands in the pipe exited with status 0, and
otherwise, the status of the rightmost command to exit with a non-0
status.

In the doc, while describing this, also reword some of the text about
commands in general, how they are structured, and when they are executed.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/bin/sh/jobs.c
cvs rdiff -u -r1.5 -r1.6 src/bin/sh/option.list
cvs rdiff -u -r1.161 -r1.162 src/bin/sh/sh.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index