diff options
author | jaseg <s@jaseg.de> | 2013-03-31 21:01:13 +0200 |
---|---|---|
committer | jaseg <s@jaseg.de> | 2013-03-31 21:01:13 +0200 |
commit | 7ea7c59e7181533ebd79d948d168b31ccfd85401 (patch) | |
tree | ba96837ada19bc785bf91515c688ce7cfa6f8ea5 /dev/spell.sh | |
parent | a72c728ab47d440b292ae9ed17a2b1524114d07f (diff) | |
download | ponysay-7ea7c59e7181533ebd79d948d168b31ccfd85401.tar.gz ponysay-7ea7c59e7181533ebd79d948d168b31ccfd85401.tar.bz2 ponysay-7ea7c59e7181533ebd79d948d168b31ccfd85401.zip |
Rewrite completed. <100lines.
Diffstat (limited to 'dev/spell.sh')
-rwxr-xr-x | dev/spell.sh | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/dev/spell.sh b/dev/spell.sh deleted file mode 100755 index 9fe617e..0000000 --- a/dev/spell.sh +++ /dev/null @@ -1,42 +0,0 @@ -en="en_GB-ise-w_accents" - - -info() -{ - if [ -f "./manuals/ponysay.texinfo" ]; then - aspell --lang="$en" check "./manuals/ponysay.texinfo" - git add "./manuals/ponysay.texinfo" - elif [ -f "../manuals/ponysay.texinfo" ]; then - aspell --lang="$en" check "../manuals/ponysay.texinfo" - git add "../manuals/ponysay.texinfo" - else - echo "spell.sh: unable to find document: ponysay.texinfo" >&2 - exit -1 - fi -} - - -man() -{ - lang="$1" - langarg="$1" - if [ ! "$lang" = "" ]; then - lang=".$lang" - else - langarg="$en" - fi - - if [ -f "./manuals/manpage${lang}.6" ]; then - aspell --lang="${langarg}" check "./manuals/manpage${lang}.6" - git add "./manuals/manpage${lang}.6" - elif [ -f "../manuals/manpage${lang}.6" ]; then - aspell --lang="${langarg}" check "../manuals/manpage${lang}.6" - git add "../manuals/manpage${lang}.6" - else - echo "spell.sh: unable to find document: manpage${lang}.6" >&2 - exit -1 - fi -} - - -"$@" |