diff options
author | Marcela Mašláňová <mmaslano@fedoraproject.org> | 2007-08-16 14:11:35 +0000 |
---|---|---|
committer | Marcela Mašláňová <mmaslano@fedoraproject.org> | 2007-08-16 14:11:35 +0000 |
commit | eedfd3d8384c2d81b8598f461b2eebf06a2f6803 (patch) | |
tree | f251f47702a9d95785243f19c30b401ad450d122 /nroff | |
parent | bdc8a81a09382935d96c00828ce11f1414d410d5 (diff) | |
download | groff-eedfd3d8384c2d81b8598f461b2eebf06a2f6803.tar.gz groff-eedfd3d8384c2d81b8598f461b2eebf06a2f6803.tar.xz groff-eedfd3d8384c2d81b8598f461b2eebf06a2f6803.zip |
Changed nroff script again.groff-1_18_1_4-7_fc8
Diffstat (limited to 'nroff')
-rw-r--r-- | nroff | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -4,8 +4,7 @@ prog="$0" charset_in=iso-8859-1 charset_out=`locale charmap 2>/dev/null` -opts= -othercoding=0 +opts="-mtty-char -Tutf8" # Default device. # First try the "locale charmap" command, because it's most reliable. @@ -51,6 +50,7 @@ case "`locale charmap 2>/dev/null`" in esac ;; esac + for i do case $1 in @@ -67,7 +67,7 @@ do -[iptSUC] | -[mrno]*) opts="$opts $1" ;; -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047 | -Tascii8 | -Tnippon | -Tkorean) - othercoding=1 + opts= T=$1 ;; -T*) # ignore other devices @@ -120,9 +120,6 @@ export LC_ALL=en_US.UTF-8 # This shell script is intended for use with man, so warnings are # probably not wanted. Also load nroff-style character definitions. -if [ "$othercoding" == 0 ]; then - opts="-mtty-char -Tutf8" -fi if [ $charset_in = utf-8 -a $charset_out = UTF-8 ]; then if [ $TMPFILE = buf ]; then |