On Sat, Jun 28, 2003 at 03:03:27PM +0100, David selby wrote: > Hello, > > I am writing bash a bash & sed script, it has been going suprisingly > well. I need a loop to count 9 times & the variable n to the count .. > > for n=1 to 9 > .... > next
[EMAIL PROTECTED]:~$ cat ./bashtest #!/bin/bash i=0 while [ $i -lt 9 ] do echo f00 i=$((++i)) done [EMAIL PROTECTED]:~$ ./bashtest f00 f00 f00 f00 f00 f00 f00 f00 f00 hope that helps -- hugh
pgp00000.pgp
Description: PGP signature