while read i
do
echo $i
done < file
和下列效果一樣
for i in `cat file`
do
echo $i
done
while read i
do
echo $i
done < file
和下列效果一樣
for i in `cat file`
do
echo $i
done
This page contains a single entry by Pank published on May 25, 2004 5:12 PM.
php 條件式字串表示 was the previous entry in this blog.
所得稅 is the next entry in this blog.
Find recent content on the main index or look in the archives to find all content.
Leave a comment