RE: bash question

2002-05-17 Thread Bernard A Badger
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf > Of Mark Blackburn > Sent: Thursday, May 16, 2002 11:55 PM > To: [EMAIL PROTECTED] > Subject: Re: bash question > > > You asked this in the wrong place btw, (I think its a ba

Re: bash question

2002-05-16 Thread Mark Blackburn
You asked this in the wrong place btw, (I think its a bash specific questing) but here goes anyways: #!/bin/bash i=0 for x in 1 2 3; do let i=i+1 echo "item $x" done echo "Processed $i items" cat > /tmp/file