dannyman.toldme.com

About Me : Free Style : Good Reads : News and Reaction : Photographs : Technical : Travels : Unsorted

Search:
August 18, 2004
FreeBSD, Technical

Quick Unix Tip: “Look”

You may already know about /usr/dict/words, /usr/local/share/dict/words, /usr/share/dict/words or wherever it is on your local system that the list of English-language words is installed. I don’t know how many times I have egrepped this file to check my spelling.

Apparently though, there’s been a handy command available since Version 7 AT&T UNIX. It is called “look” and it is handy for looking up words.

0-9:46 djh@otech ~> look spell
spell
spellable
spellbind
spellbinder
spellbinding
spellbound
spellcraft
spelldown
speller
spellful
spelling
spellingdown
spellingly
spellmonger
spellproof
spellword
spellwork
0-13:06 djh@otech ~> look success
success
successful
successfully
successfulness
succession
successional
successionally
successionist
successionless
successive
successively
successiveness
successivity
successless
successlessly
successlessness
successor
successoral
successorship
successory

Not quite as powerful as egrep, but it saves you from having to recall the location of your local words file.

The dict command, available as a FreeBSD port, is not nearly as ubiquitous, but once installed, can be handy for looking up words.

0-13:10 djh@otech ~> look ubiquit
ubiquit
Ubiquitarian
ubiquitarian
Ubiquitarianism
ubiquitariness
ubiquitary
Ubiquitism
Ubiquitist
ubiquitous
ubiquitously
ubiquitousness
ubiquity
0-13:10 djh@otech ~> dict ubiquitous
2 definitions found
 
From Webster's Revised Unabridged Dictionary (1913) [web1913]:
 
  Ubiquitous U*biq"ui*tous, a. [See {Ubiquity}.]
     Existing or being everywhere, or in all places, at the same
     time; omnipresent. -- {U*biq"ui*tous*ly}, adv.
 
           In this sense is he ubiquitous.          --R. D.
                                                    Hitchcock.
 
From WordNet (r) 2.0 [wn]:
 
  ubiquitous
       adj : being present everywhere at once [syn: {omnipresent}]

Read More

Next: Iraq’s Middle Road
Previous: Black Bear Prefers Rainier Beer to Busch
Categories: FreeBSD, Technical
Possibly-Related Posts
Unix Trick: Block-and-Page
Indian Numerals and Latin Numbers
Quick Linux Peeve
Perl: Convert Celsius and Fahrenheit
Better Unix Through System Graphs
HOWTO: Play random mp3s with mpg123
Makefile, fortune

Comment / Tip

. . . or leave a Tip

Leave a comment . . .

  1. For private messages, e-mail me: dannyman@toldme.com
  2. I will not publish or share your e-mail address.
  3. I will not spam you.
  4. Therefor: no anonymous posts; send me your e-mail address!
(required)
(required)

. . . comments from new posters will be held for screening.

Danny Howard is 100% responsible for the content on this site, except some of it is stolen.

All rights are reserved, unless otherwise noted. Generally, I'm a BSD guy, so you can assume implicit permission to adapt, modify, and redistribute my intellectual property with appropriate attribution. Except some of this content is itself re-appropriated, so you'd best ask first, especially for commercial use. Thanks!

You can contact me via e-mail: dannyman@toldme.com

Most of http://dannyman.toldme.com/ is powered by WordPress.

If you're hip to RSS and whatnot, you can subscribe to this site.

These links are for dannyman: login AND backlinks