Glynn Clements [Thu, Apr 01, 2004 at 11:53:48PM +0100]: > Chuck Harding wrote: > > > How about > > > > #!/bin/bash > > for ((i=1;i<11;i+=2)) > > I haven't heard of this before. It must have been introduced fairly > recently; it isn't supported by bash 2.03 or any 1.x version. Just to point to another nice shell: zsh4.1.1 does support this and much more. I really don't understand why you all bind yourself to bash for scripting! Bash is slow, big and comfortable. Scripts don't need comfort. I always use 'ash' (much smaller/faster) for scripts and 'zsh' (much more nice extensions and still at least as fast as bash) for normal use. Nico -- Keep it simple & stupid, use what's available. pgp: 8D0E E27A | Nico Schottelius http://nerd-hosting.net | http://linux.schottelius.org
Attachment:
pgp00009.pgp
Description: PGP signature