[SVN] [PATCH] (ShellScript) Patch to “for … in … done”: remove “in” for the short loop form

Martin Kühl martin.kuehl at gmail.com
Sat Jan 17 14:44:10 UTC 2009


Hi all,

the shell "for name in words; do" loop has a short form "for name; do"
form that automatically loops over $@. This patch adapts the for…in
snippet to this form, removing the "in" keyword when the "words" are
removed.

Thanks,
Martin

Patch on pastie:
http://pastie.textmate.org/private/ncxeliswxpjxw1uw2zla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastie-363253.diff
Type: application/octet-stream
Size: 513 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090117/3172b186/attachment.diff>


More information about the textmate-dev mailing list