Mark Orr wrote:
<em>> You know,  Bash 2.0x will accept a C-like for loop syntax:
<em>> 
<em>> for (( i=0; i<=15; i++ )) ; do echo $i ; done
<em>> 
<em>> Or you could do something like this:
<em>> 
<em>> i=0;
<em>> while (( i<=15 )) ; do echo $i ;  i=$(($i + 1)); done
Well, the script needs to be Bourne shell compatible. Pretty cool
though.
Regards, Dustin

-- 
Dustin Puryear <[EMAIL PROTECTED]>
http://members.telocity.com/~dpuryear
In the beginning the Universe was created. 
This has been widely regarded as a bad move. - Douglas Adams
================================================
BRLUG - The Baton Rouge Linux User Group
Visit http://www.brlug.net for more information.
Send email to [EMAIL PROTECTED] to change
your subscription information.
================================================

<!-- body="end" -->
<hr noshade>
<ul>
<li><strong>Next message:</strong> [EMAIL PROTECTED]: "[brluglist] Support LA 
SB 455: Create a single IT department for LA state dept."
<li><strong>Previous message:</strong> Mark Orr: "Re: [brluglist] counter.."
<li><strong>In reply to:</strong> Mark Orr: "Re: [brluglist] counter.."
<li><strong>Messages sorted by:</strong> 
[ date ]
[ thread ]
[ subject ]
[ author ]
[ attachment ]
</ul>
<hr noshade>

<small>
<em>
This archive was generated by hypermail 2.1.2 
: <em>Thu Sep 06 2001 - 11:10:52 CDT</em>
</em>
</small>
</body>
</html>

Reply via email to