[BACK]Return to expand.sh CVS log [TXT][DIR] Up to [local] / web

Diff for /web/expand.sh between version 1.2 and 1.3

version 1.2, 2015/07/19 16:44:48 version 1.3, 2015/07/19 16:46:56
Line 12  tmpfile=$(mktemp)
Line 12  tmpfile=$(mktemp)
 cp ${filename} ${tmpfile}  cp ${filename} ${tmpfile}
   
 # some dirty modifications  # some dirty modifications
 (rm ${tmpfile};  sed s/"箱山, 洋."/"箱山 洋"/g > ${tmpfile}) < ${tmpfile}  (rm ${tmpfile}; sed s/"箱山, 洋."/"箱山 洋"/g > ${tmpfile}) < ${tmpfile}
 (rm ${tmpfile};  sed s/"巌佐, 庸."/"巌佐 庸"/g > ${tmpfile}) < ${tmpfile}  (rm ${tmpfile}; sed s/"巌佐, 庸."/"巌佐 庸"/g > ${tmpfile}) < ${tmpfile}
 (rm ${tmpfile};  sed /\>NA\</d > ${tmpfile}) < ${tmpfile}  (rm ${tmpfile}; sed /\>NA\</d > ${tmpfile}) < ${tmpfile}
 (rm ${tmpfile};  sed /\>NA\./d > ${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}
 (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  # list of the start line-number and end line-number of articles
 start=`sed -n '/<article/=' ${tmpfile}`  start=`sed -n '/<article/=' ${tmpfile}`

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3