[SVN] [PATCH] (ShellScript) Wrap “[[ condition ]]” in tab stop
Martin Kühl
martin.kuehl at gmail.com
Sat Jan 17 14:49:32 UTC 2009
Hi all,
in shell script conditions, any commands can be used in place of a "[[
conditional expression ]]" block, with the exit status determining
whether their 'condition' is met.
This patch wraps a second tab stop around the brackets in "[[
condition ]]" blocks in the if, elif, while and until snippets, so it
becomes easier to replace the brackets with a command.
Thanks,
Martin
Patch on Pastie:
http://pastie.textmate.org/private/t87najf5zhaotzwlogazw
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastie-363254.diff
Type: application/octet-stream
Size: 1937 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090117/95a83e7a/attachment.diff>
More information about the textmate-dev
mailing list