summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2007-04-17 16:56:24 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2007-04-17 16:56:24 +0000
commitaf5cbea9fd07f075d6088e9a66b69dda2900002a (patch)
tree8e030ac17f23e31bf8de74abe9691dce4cc2ed85
parenta0392593e5e7f493c7cbafa9e71ebf269fa327d6 (diff)
For "spell -t" pass the -w flag to detex like we do for deroff.
From Owain Ainsworth.
-rw-r--r--usr.bin/spell/spell.ksh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/spell/spell.ksh b/usr.bin/spell/spell.ksh
index a2b5b0801cf..a30d6143347 100644
--- a/usr.bin/spell/spell.ksh
+++ b/usr.bin/spell/spell.ksh
@@ -1,6 +1,6 @@
#!/bin/ksh -
#
-# $OpenBSD: spell.ksh,v 1.10 2007/02/16 13:47:03 jmc Exp $
+# $OpenBSD: spell.ksh,v 1.11 2007/04/17 16:56:23 millert Exp $
#
# Copyright (c) 2001, 2003 Todd C. Miller <Todd.Miller@courtesan.com>
#
@@ -62,7 +62,7 @@ while getopts "biltvxd:h:m:s:" c; do
;;
m) DEROFF="$DEROFF -m $OPTARG"
;;
- t) DEROFF="detex"
+ t) DEROFF="detex -w"
;;
v) VTMP=`mktemp /tmp/spell.XXXXXXXX` || {
rm -f ${TMP}