close

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

arrow
arrow
    全站熱搜

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