diff options
author | jilles <jilles@FreeBSD.org> | 2014-12-14 16:26:19 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2014-12-14 16:26:19 +0000 |
commit | 412e06f616dd8b08c00e03d1fdcf4f8cf7e4bc0e (patch) | |
tree | 23fb567e57f826963e79f10430e2ea5fc2f2f033 /bin/pax | |
parent | 03d4d627c59149ce3727e3c88655baa2fe773345 (diff) | |
download | FreeBSD-src-412e06f616dd8b08c00e03d1fdcf4f8cf7e4bc0e.zip FreeBSD-src-412e06f616dd8b08c00e03d1fdcf4f8cf7e4bc0e.tar.gz |
sh: Make sure output suitable as shell input is also printable.
Commands like 'export -p', 'set' and 'trap', and tracing enabled via 'set
-x' generate output suitable as shell input by adding quotes as necessary.
If there are control characters other than newline or invalid UTF-8
sequences, use $'...' and \OOO to display them safely.
The resulting output is not parsable by a strict POSIX.1-2008 shell but sh
from FreeBSD 9.0 and newer and many other shells can parse it.
Diffstat (limited to 'bin/pax')
0 files changed, 0 insertions, 0 deletions