tc-text-*: Fixes

master
Pierre Neidhardt 2015-09-12 15:10:51 +02:00
parent d7a4ed00ea
commit 9721d90344
2 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
if [ $# -eq 0 ] || [ "$1" = "-h" ]; then
cat<<EOF
Usage: ${1##*/} FOLDERS
Usage: ${0##*/} FOLDERS
Convert all 'bad' encoding to UTF-8/LF.

View File

@ -2,17 +2,18 @@
if [ $# -eq 0 ] || [ "$1" = "-h" ]; then
cat<<EOF
Usage: ${1##*/} FOLDERS
Usage: ${0##*/} FOLDERS
Check for files containing common mispelling, like "`" and "´" instead of "'",
or "oe" instead of "œ".
Check for files containing common mispelling:
- "\`" and "´" instead of "'",
- "oe" instead of "œ".
EOF
fi
if ! command -v recode >/dev/null 2>&1; then
echo "recode needed."
exit
echo >&2 "recode needed."
exit 1
fi
for i ; do