diff options
author | jilles <jilles@FreeBSD.org> | 2009-06-19 22:09:55 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2009-06-19 22:09:55 +0000 |
commit | 1ebc51d79bf1b6b0a5d93e299798adb2eac765bc (patch) | |
tree | 71969d5c4fcd6d3c7f130909631c731d8065fd94 /tools | |
parent | 573bf496149c53a0d3a6a3a77491dc10007a5ee0 (diff) | |
download | FreeBSD-src-1ebc51d79bf1b6b0a5d93e299798adb2eac765bc.zip FreeBSD-src-1ebc51d79bf1b6b0a5d93e299798adb2eac765bc.tar.gz |
Fix some issues with quoted output and shorten it in some cases.
Output quoted suitable for re-input to the shell occurs in
various cases such as 'set', 'trap'.
Bugfix: *, ? and [ must be quoted (except sole [)
Bugfix: ~ and # must be quoted (really only sometimes, but keep it simple)
Bugfix: space, tab and newline must always be quoted
Shortening: other IFS characters do not need quoting
Bugfix: send to correct output file, not hard-coded stdout
Shortening: avoid unnecessary '' with \'
Approved by: ed (mentor)
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions