9fans archive / 2000 / 07 / 99 /    prev next

From: pip@nam...
Subject: [9fans] /sys/src/cmd/spell
Date: Thu, 6 Jul 2000 20:40:50 -0400

The man page of spell(1) seems inconsistent with the source for
sprog and /rc/bin/spell, with respect to the '-a' flag,

/rc/bin/spell does not recognize '-a' and hands off to deroff.  If 
you 'fix' spell to recognize '-a' and pass it to sprog, it does, but it
is not entirely clear what sprog does when aflag is set, circa line 
530 in sprog.c, from a casual perusal of the source.

That said, what is the correct way to label the output from spell 
with a tag of the (mis)spell occurrence ?

Thanks.
-
pip