Search Results

Search: Posts Made By: LANkrypt0
5,452
Posted By LANkrypt0
I used this one for KSH scripting: ...
I used this one for KSH scripting:
http://www.bolthole.com/solaris/ksh.html

for sed:
http://www.pegasus.rutgers.edu/~elflord/unix/sed.html

for awk:
http://www.vectorsite.net/tsawk1.html
...
2,198
Posted By LANkrypt0
I would use until #!/bin/ksh numOfAcct=4 ...
I would use until

#!/bin/ksh
numOfAcct=4
ncounter=1
until [[ $ncounter -gt 4 ]];do
echo $ncounter
ncounter=`calc "$ncounter + 1"`
done
152,763
Posted By LANkrypt0
Same as Perderabo's but a one liner sed '$d'...
Same as Perderabo's but a one liner

sed '$d' < file1 > file2 ; mv file2 file1
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 04:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy