BTS

Message967

Author z3ttacht
Recipients ft, mika, z3ttacht
Date 2007-12-03.21:45:04
Content
Standarized the use of brackets - double instead of single ones -
for test situations like if-clauses.
For info, see http://zsh.dotsrc.org/Guide/zshguide02.html#l8 , last
paragraph.
Furthermore several cases of 'if [[..]]; then` where changed to the
otherwise used form 'if [[..]] ; then`.
Oneliners used:
% sed -i 's,\]\;\( then\),\] ;\1,' etc/{skel,zsh}/.#z*
% sed -i 's,[^\["]\(\[ \+[-!"$]\+\), [\1,g;s,\( ]\)\([ ;]\+\),\1]\2,g' etc/{skel,zsh}/.#z*

I checked the result several times. I really hope I did not miss any
false positive.
Files
File name Uploaded
grml-etc-core-semicolon-doublebrackets.patch z3ttacht, 2007-12-03.21:45:04
History
Date User Action Args
2007-12-03 21:45:06z3ttachtsetrecipients: + z3ttacht, mika, ft
2007-12-03 21:45:06z3ttachtsetmessageid: <1196718306.09.0.930797988392.issue354@bts.grml.org>
2007-12-03 21:45:06z3ttachtlinkissue354 messages
2007-12-03 21:45:04z3ttachtcreate