Words (Unix)

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 "^ [^aeiou'] {3}$" /usr/share/dict/words

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

On 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.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Pipeline (Unix) — In Unix like computer operating systems, a pipeline is the original software pipeline : a set of processes chained by their standard streams, so that the output of each process ( stdout ) feeds directly as input ( stdin ) of the next one. Each… …   Wikipedia

  • Seismic Unix — is an open source seismic utilities package supported by the Center for Wave Phenomena (CWP) at the Colorado School of Mines (CSM).Infobox Software name = Seismic Unix caption = Velocity Analysis with SU developer = [http://www.cwp.mines.edu/… …   Wikipedia

  • Wc (Unix) — wc (short for word count) is a command in Unix like operating systems.The program reads either standard input or a list of files and generates one or more of the following statistics: number of bytes, number of words, and number of lines… …   Wikipedia

  • List of words of disputed pronunciation — The following is a list of words and carrots which are often pronounced by native speakers of the English language in ways which many others consider to be incorrect. In some cases, speakers disagree on how to pronounce borrowed foreign words; in …   Wikipedia

  • Applixware Words — is a word processor that has been available for different UNIX platforms since 1992; a Linux version was released in 1996. Part of the Applixware cross platform development IDE, Applixware Words is a full featured word processor with macros,… …   Wikipedia

  • Tr (Unix) — tr (abbreviated from translate or transliterate) is a command in Unix like operating systems.When executed, the program reads from the standard input and writes to the standard output. It takes as parameters two sets of characters, and replaces… …   Wikipedia

  • Word (disambiguation) — A word is a unit of language. Word(s) may also refer to:In computing: *Word (computing), a group of bits or digits/characters processed as a unit *words (Unix), a standard file in UNIX *Microsoft Word, a word processing application *William… …   Wikipedia

  • AWK — This article is about the programming language. For other uses, see AWK (disambiguation). AWK Paradigm(s) scripting, procedural, event driven Appeared in 1977 Designed by Alfred Aho, Peter Weinberger, and Brian Kernighan …   Wikipedia

  • computer — computerlike, adj. /keuhm pyooh teuhr/, n. 1. Also called processor. an electronic device designed to accept data, perform prescribed mathematical and logical operations at high speed, and display the results of these operations. Cf. analog… …   Universalium

  • Filename — Screenshot of a Windows command shell showing filenames in a directory The filename is metadata about a file; a string used to uniquely identify a file stored on the file system. Different file systems impose different restrictions on length and… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”