Share on Facebook Share on Twitter Email
Answers.com

Words

 
Wikipedia: Words (Unix)

words is a standard file on all Unix and Unix-like operating systems, and is simply a newline delimited list of dictionary words. It is used, for instance, by spell checking programs.

With Unix's text processing capabilities, one can use the words file for many purposes. For example, using the grep tool, one can find all three letter words without any vowels, using regular expressions:

egrep -i "^[^aeiouy']{3}$" /usr/share/dict/words

The words file is usually stored in /usr/share/dict/words, or /usr/dict/words. On the Mac OS X system, the file path is /usr/share/dict/words.

On Debian and Ubuntu, the words file is provided by the wordlist package, or its Provider packages wbritish, wamerican, etc.

A words file is also used to contain words related to a specific topic. One such example of this is for profanity censoring software that replaces profanities, for example, posted on the web with strings such as "###" or some other replacement. Words that are posted in this example are compared with a "bad-words" file and then if there is an occurrence of such a word, it is summarily replaced.



Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 
Learn More
logophobia
logolepsy
coelo-

What words have be in them? Read answer...
Words with A? Read answer...
Is a a word? Read answer...

Help us answer these
What is the word the?
What words in with in?
The words and but and or?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Words (Unix)" Read more