diff options
author | ponsfoot | 2016-10-21 21:12:07 +0900 |
---|---|---|
committer | ponsfoot | 2016-10-21 21:12:07 +0900 |
commit | 5464c67adc48e311f539bb4f93c5dee9fee94131 (patch) | |
tree | ddd0f1ce23794b793d0154f2a2604b39e466c53d /mod-generate-dictionary.sh | |
parent | f960e590a563cc97ae88fd7a05c75aac2bf03c4c (diff) | |
download | aur-5464c67adc48e311f539bb4f93c5dee9fee94131.tar.gz |
utdic: Upstream update
Diffstat (limited to 'mod-generate-dictionary.sh')
-rwxr-xr-x | mod-generate-dictionary.sh | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/mod-generate-dictionary.sh b/mod-generate-dictionary.sh index cd131ce42f42..3310e1bc50ce 100755 --- a/mod-generate-dictionary.sh +++ b/mod-generate-dictionary.sh @@ -8,13 +8,13 @@ sed -i \ generate-dictionary.sh \ edict-katakana-english/generate-dictionary.sh -# Comment out the specifying versions and initial cleanup -# cp $srcdir/KEN_ALL.CSV to chimei/ -# Specify $srcdir/JIGYOSYO.CSV -# Modify mozc-\$MOZCVER to mozc -# Remove making xz archive +# 1) Comment out specifying versions and initial cleanup +# 2) cp $srcdir/KEN_ALL.CSV to chimei/ +# 3) Specify $srcdir/JIGYOSYO.CSV +# 4) Modify mozc-\$MOZCVER to mozc +# 5) Comment out making xz archive sed -i \ - -e 's/^\(MOZCVER=.*\|DICVER=.*\|NICODIC=.*\)/#&/' \ + -e 's/^\(MOZCVER=.*\|DICVER=.*\|NICODIC=.*\)/#&/g' \ -e '/rm -rf mozc-$MOZCVER/s/^/#/i' \ -e '/echo "extract official mozc..."/,+1s/^/#/ig' \ -e '/rm -f \*\.zip/,+6s/^/#/ig' \ @@ -22,11 +22,8 @@ sed -i \ -e 's|JIGYOSYO.CSV|../../JIGYOSYO.CSV|' \ -e 's|mozc-\$MOZCVER|mozc|g' \ -e '/# compress mozc-ut/,+4s/^/#/ig' \ - -e 's|^cp -r docs/|cp -r docs-ut/|' \ generate-dictionary.sh sed -i \ - -e '/rm edict.*/,/gzip -dk edict.*/s/^/#/ig' \ + -e '/rm -f edict.*/,/gzip -dk edict.*/s/^/#/ig' \ edict-katakana-english/generate-dictionary.sh - -#sed -i '71s/s\[5\]/& != "" and &/' chimei/get-entries.rb |