Thursday, September 13, 2007

For in KSH

I needed to create some files. I wanted to use seq command but not found on AIX. I had to simulate it with while. Here it is:


#!/bin/ksh
integer i=1
while ((i<5000))
do
# print "$i"
touch $i
i=i+1
done

iNerd


I am nerdier than 88% of all people. Are you a nerd? Click here to find out!

Tuesday, September 11, 2007