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 :
#!/bin/bash
for i in `seq 1 50`;
do
echo $i
done
Just wondering.. as I'm more familiar with C than anything else.
Regards
Conor.