if we want to read file's content line by line ,
we can use the shell code as below:
while read fileContent
do
echo $fileContent
done < input_file
文章標籤
全站熱搜
if we want to read file's content line by line ,
we can use the shell code as below:
while read fileContent
do
echo $fileContent
done < input_file

KwCheng's blog
JerryCheng 發表在 痞客邦 留言(0) 人氣(32)
