Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 6099 - 'spell' problems: stdin only, duplicate misspellings
Summary: 'spell' problems: stdin only, duplicate misspellings
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ispell
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
: 7734 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 1999-10-19 21:16 UTC by Chris Siebenmann
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-11-19 22:23:39 UTC

Attachments (Terms of Use)

Description Chris Siebenmann 1999-10-19 21:16:50 UTC
A traditional spell command will spellcheck one or more
files given on the command line (or stdin if there are no
files given on the command line), and misspelled words will
only be given once.

 The 'spell' script included in the ispell RPM will only
spellcheck standard input and will repeat misspelled words
as many times as they occur in the input.

$ echo This spel command is awful at catchng spel mistakes
$ spell </dev/null /tmp/spelltest
[no output]
$ spell </tmp/spelltest

 The simple fix appears to be to replace spell with the
following shell script:
	cat "$@" | ispell -l | sort -u

(This bug report is applicable to RedHat 6.1 unless the
behavior of 'ispell -l' has changed, which the manpage
claims it has not.)

 There is also no manpage for the spell command.

Comment 1 Michael K. Johnson 1999-11-19 22:23:59 UTC
Makes sense; I've changed the spell script for ispell-3.1.20-23, which
will be in the next RawHide.  Thanks!

Comment 2 Michael K. Johnson 1999-12-10 21:12:59 UTC
*** Bug 7734 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.