Searched hist:194516 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/bin/sh/
H A Doutput.cdiff 194516 Fri Jun 19 20:12:52 MDT 2009 jilles 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)

Completed in 49 milliseconds