Try Tcsh then, if you like c syntax.
On Thu, Feb 17, 2011 at 11:53 AM, Conor Wynne <mariconor at gmail.com> wrote:
> Hi all,
>> When scripting in bash, and using C style syntax, example
>> for (i=0;i<=50;i++)
>> do I have to declare the variable(s) before hand?
>> Compared to :
>> for i in `seq 1 50`;
> echo $i
>> Just wondering.. as I'm more familiar with C than anything else.
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!