=================================================================== RCS file: /cvs/web/expand.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- web/expand.sh 2015/07/12 10:34:06 1.1 +++ web/expand.sh 2015/07/19 16:44:48 1.2 @@ -12,12 +12,12 @@ tmpfile=$(mktemp) cp ${filename} ${tmpfile} # some dirty modifications -cat ${tmpfile} | (rm ${tmpfile}; sed s/"箱山, 洋."/"箱山 洋"/g > ${tmpfile}) -cat ${tmpfile} | (rm ${tmpfile}; sed s/"巌佐, 庸."/"巌佐 庸"/g > ${tmpfile}) -cat ${tmpfile} | (rm ${tmpfile}; sed /\>NA\ ${tmpfile}) -cat ${tmpfile} | (rm ${tmpfile}; sed /\>NA\./d > ${tmpfile}) -cat ${tmpfile} | (rm ${tmpfile}; sed -E 's/\?\./\?/g' > ${tmpfile}) -cat ${tmpfile} | (rm ${tmpfile}; sed -E 's/?\./?/g' > ${tmpfile}) +(rm ${tmpfile}; sed s/"箱山, 洋."/"箱山 洋"/g > ${tmpfile}) < ${tmpfile} +(rm ${tmpfile}; sed s/"巌佐, 庸."/"巌佐 庸"/g > ${tmpfile}) < ${tmpfile} +(rm ${tmpfile}; sed /\>NA\ ${tmpfile}) < ${tmpfile} +(rm ${tmpfile}; sed /\>NA\./d > ${tmpfile}) < ${tmpfile} +(rm ${tmpfile}; sed -E 's/\?\./\?/g' > ${tmpfile}) < ${tmpfile} +(rm ${tmpfile}; sed -E 's/?\./?/g' > ${tmpfile}) < ${tmpfile} # list of the start line-number and end line-number of articles start=`sed -n '/