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

sync

parent 9fdac4d0
Loading
Loading
Loading
Loading
+12 KiB

File added.

No diff preview for this file type.

+4 −0
Original line number Diff line number Diff line
@@ -14,6 +14,10 @@
     G=$D/corpus/$B.mc.utf-8
     if [ ! -s $G ]
     then sed -e 's/[/\[/g' -e 's/]/\]/g' -e 's/\[[^]]*\]//g' -e 's/(/(/g' -e 's/)/)/g' -e 's/([^)]*)//g' `ls -1t incoming/*/[th]*/$B.utf-8 | head -1` | tr '()\133\135' '\012\012\012\012' > $G
     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' `ls -1t incoming/*/[th]*/$B.utf-8 | head -1` | 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//p' -e '/	/bloop' -e '}' $G > $G.b~
          exit
     else :
     fi
     xemacs $G