TIP 23:
Looking up the Spelling of a Word.
$ look <partial spelling>
so the following will list all words that
start with stuff
$ look stuff
stuff
stuffage
stuffata
stuffed
stuffender
stuffer
stuffers
stuffgownsman
stuffier
stuffiest
stuffily
stuffiness
stuffinesses
stuffiness's
stuffing
stuffings
stuffing's
stuffless
stuffs
stuffy
It helps to have a large "linuxwords" dictionary. You can download
a much bigger dictionary from the following:
http://prdownloads.sourceforge.net/souptonuts/linuxwords.1.tar.gz?download
Note: vim users can setup the .vimrc file with the following. Now when you type
CTL-X CTL-T in insert mode, you'll get a thesaurus lookup.
set dictionary+=/usr/share/dict/words
set thesaurus+=/usr/share/dict/words
Or, you can call aspell with the F6 command after putting the folling entry in your
.vimrc file
:nmap <F6> :w<CR>:!aspell -e -c %<CR>:e<CR>
Now, hit F6 when you're in vim, and you'll get a spell checker.
There is also an X Windows dictionary that runs with the following command.
$ gnome-dictionary
How to Linux and Open Source -- Tip 23 : look
最新推荐文章于 2024-09-27 12:05:02 发布