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

文章標籤
全站熱搜
創作者介紹
創作者 JerryCheng 的頭像
JerryCheng

KwCheng's blog

JerryCheng 發表在 痞客邦 留言(0) 人氣(32)