2010-06-05 bsh記法 LOOP 制御 while文 1行ずつ読み込み(行単位で処理) while read LINE do #ループ内の処理内容 echo ${LINE} > ${OUTPUTFILE} done < ${INPUTFILE}