[wplug] embarrasing question......Terminating Input from stdin

John Harrold jmh17 at pitt.edu
Wed Sep 1 15:19:34 EDT 2004


Sometime in September William Powell assaulted the keyboard and produced:

| As long as I have been using linux, I can't remember how to terminate 
| input when using stdin with a command line command.  For example, I want 
| to check spelling of a single word at the command line without putting 
| the word into a file and saving it.
| 
| [i,a]spell {enter}
| wordztobe
| czeched

Not the solution you are looking for, but the 'dict' command is pretty good
for spell checking and it also gives you definitions. I know it comes with
Redhat (dictd package) and with Debian (apt-get install dict).

Oh yeah it's ctrl+D to terminate input from stdin.

-- 
---------------------------------------------------------- 
                            | /"\                         
 john harrold               | \ / ASCII ribbon campaign   
 jmh at member.fsf.org      |  X  against HTML mail       
 the most useful idiot      | / \                         
----------------------------------------------------------
 What difference does it make to the dead, the orphans, 
 and the homeless, whether the mad destruction is brought 
 under the name of totalitarianism or the holy name of 
 liberty and democracy?
 --Gandhi
----------------------------------------------------------
  gpg --keyserver keys.indymedia.org --recv-key F65A739E
----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20040901/25c5c6f4/attachment-0001.bin


More information about the wplug mailing list