Commit bf1e9260 authored by 安岡 孝一's avatar 安岡 孝一
Browse files

sync

parent e83f1d7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
     elif [ $D/hakubun/$B.utf-8 -nt $G ]
     then ( sed -e 's/[/\[/g' -e 's/]/\]/g' -e 's/\[[^]]*\]//g' -e 's/(/(/g' -e 's/)/)/g' -e 's/([^)]*)//g' $D/hakubun/$B.utf-8 | tr '()\133\135' '\012\012\012\012' ; echo '' ) | tr -s '\012' '\012' > $G.a~
          sed -e '/	/{' -e :loop -e N -e 's/	.*\n//' -e 's/EOS//' -e '/	/bloop' -e '}' $G | tr -s '\012' '\012' > $G.b~
          X=`diff $G.a~ $G.b~ | sed -e 's/^\([0-9]*\).*$/\1/' -e 1q`
          X=`diff $G.a~ $G.b~ | sed -n -e 's/^\([0-9]*\).*$/\1/p' -e 1q`
          if [ 0$X -gt 0 ]
          then if [ $X -eq 1 ]
               then cp $D/hakubun/$B.utf-8 $G