Bug 6099 - 'spell' problems: stdin only, duplicate misspellings
'spell' problems: stdin only, duplicate misspellings
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: ispell (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
:
: 7734 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-19 17:16 EDT by Chris Siebenmann
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-11-19 17:23:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chris Siebenmann 1999-10-19 17:16:50 EDT
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.

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

 The simple fix appears to be to replace spell with the
following shell script:
	#!/bin/sh
	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 17:23:59 EST
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 16:12:59 EST
*** 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.