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:           Sun Nov 19 03:23:01 UTC 2017

Modified Files:
        src/bin/sh: eval.c option.list options.c output.c output.h sh.1 var.c

Log Message:
Implement the -X option - an apparent variant of -x which sends all trace
output to the stderr which existed when the -X option was (last) enabled.
It also enables tracing by enabling -x (and when reset, +X, also resets
the 'x' flag (+x)).  Note that it is still -x/+x which actually
enables/disables the trace output.   Hence "apparent variant" - what -X
actually does (aside from setting -x) is just to lock the trace output,
rather than having it follow wherever stderr is later redirected.


To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 src/bin/sh/eval.c
cvs rdiff -u -r1.6 -r1.7 src/bin/sh/option.list
cvs rdiff -u -r1.50 -r1.51 src/bin/sh/options.c
cvs rdiff -u -r1.38 -r1.39 src/bin/sh/output.c
cvs rdiff -u -r1.25 -r1.26 src/bin/sh/output.h
cvs rdiff -u -r1.173 -r1.174 src/bin/sh/sh.1
cvs rdiff -u -r1.68 -r1.69 src/bin/sh/var.c

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