Created
September 12, 2010 13:47
-
-
Save tkusano/576126 to your computer and use it in GitHub Desktop.
filter-gnome-japo.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
if [ $# -lt 2 ]; then | |
echo usage: `basename $0` input-dir output-dir 1>&2 | |
exit 64 | |
fi | |
input=$1 | |
output=$2 | |
if [ ! -d $input ]; then | |
echo Error: No $input directory which contains hogehoge.po | |
exit 64 | |
fi | |
if [ ! -d $output ]; then | |
echo Error: No $output directory where output is produced. | |
exit 64 | |
fi | |
pofilter --gnome \ | |
--test=accelerators \ | |
--language=ja \ | |
--input=$input --output=$output | |
# end of script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment