words (Unix)

words is a standard file on 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.[1]

The words file is usually stored in /usr/share/dict/words or /usr/dict/words.

On Debian and Ubuntu, the words file is provided by the wordlist package, or its provider packages wbritish, wamerican, etc. On Fedora and Arch Linux, the words file is provided by the words package. The words package is sourced from data from the Moby Project, a public domain compilation of words.[2]

References

  1. Tushar, Shantanu (2013). Linux Shell Scripting Cookbook. Birmingham, UK: Packt Publishing. pp. 219–220. ISBN 978-1-78216-275-9.
  2. "words-3.0-38.fc35.noarch.rpm". pkgs.org.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.