skip to main
|
skip to sidebar
Split Brain Condition
Thursday, March 4, 2010
Read file writting strings into array
declare -a ARRAY
count=0
while read line; do
echo $line
ARRAY[$count]=$line
let count=count+1
echo $count
done < ips.tmp
echo ${ARRAY[1]}
echo ${#ARRAY[@]}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2010
(12)
►
July
(2)
►
May
(1)
►
April
(1)
▼
March
(4)
Couple of useful Dtrace articles
How to get the latest file from the directory
Read file writting strings into array
File System workload generator
►
February
(2)
►
January
(2)
►
2009
(4)
►
November
(2)
►
September
(2)
►
2007
(1)
►
June
(1)
About Me
ITiger
View my complete profile
No comments:
Post a Comment