skip to main
|
skip to sidebar
Miromir's
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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
miromir
father, dancer, husband, IT enthusiast, mac addict
View my complete profile
Labels
Life
(25)
Computers
(11)
Unix
(9)
Apple
(6)
Shell scripting
(4)
AIX
(2)
Movies
(2)
Linux
(1)
Perl
(1)
Photos
(1)
Wisdom
(1)
script
(1)
Blogroll
orga.nizm.us
Webus Pilatus
Me Del.icio.us
Miromir's del.icio.us
miromir"s shared items
Blog Archive
►
2013
(1)
►
July
(1)
►
2011
(1)
►
August
(1)
►
2009
(2)
►
July
(1)
►
March
(1)
►
2008
(5)
►
October
(1)
►
September
(1)
►
July
(1)
►
June
(1)
►
January
(1)
▼
2007
(36)
►
December
(1)
►
November
(3)
►
October
(7)
▼
September
(3)
For in KSH
iNerd
Cífka on her way
►
August
(1)
►
July
(4)
►
June
(17)
No comments:
Post a Comment