suibenzhi
11/28/2016 - 10:42 AM

shell read file.sh

FILENAME="filename"


while read line
do
        echo $line     #这里可根据实际用途变化

done < $FILENAME