dpuryear at usa.net
Fri Apr 6 09:05:28 CDT 2001
Mark Orr wrote:
<em>> You know, Bash 2.0x will accept a C-like for loop syntax:
<em>> for (( i=0; i<=15; i++ )) ; do echo $i ; done
<em>> Or you could do something like this:
<em>> while (( i<=15 )) ; do echo $i ; i=$(($i + 1)); done
Well, the script needs to be Bourne shell compatible. Pretty cool
Dustin Puryear <dpuryear at usa.net>
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 majordomo at brlug.net to change
your subscription information.
<!-- body="end" -->
<li><strong>Next message:</strong> johnahebert at yahoo.com: "[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 ]
This archive was generated by hypermail 2.1.2
: <em>Thu Sep 06 2001 - 11:10:52 CDT</em>
More information about the General