WORDS(5)

πŸ’– WORDS(5) β€” the girlies' guide to the system word list πŸ’–

okay so bestie, welcome to WORDS(5), part of the Linux Programmers Manual πŸŽ€ this one's short but it's important, so grab your strawberry milk and let's go πŸ“


✨ NAME ✨

french β€” a list of french words πŸ‡«πŸ‡· no cap, that's literally it, that's the whole name


🌸 DESCRIPTION 🌸

/usr/share/dict/french is an ASCII file, and inside it? an alphabetic list of words. one per line. that's the vibe πŸ’…

like, it's giving "the world's most organized girl". no chaos, no extra nonsense, just words stacked neatly, one per line, alphabetically. we love a structured queen πŸ‘‘


πŸ¦‹ FILES πŸ¦‹

okay this is the part where it gets lowkey iconic, because there's a whole symlink situation going on πŸ”₯

  • /etc/alternatives/dictionary β€” this is a symbolic link pointing at a /usr/share/dict/<language> file. yes, any language. it's flexible like that ✨
  • /usr/share/dict/words β€” this one is a symbolic link to /etc/alternatives/dictionary, and this is the name that other software should use when it wants to refer to the system word list. so like, if you're writing a program and you need "the words", you say /usr/share/dict/words and you don't ask questions. periodt πŸ‘‘
ngl if you wanna know more about how the symlink magic works, go read update-alternatives(8) β€” it's the backstage crew making all of this happen 🫢

and then there's the directory itself, /usr/share/dict, which can hold word lists for many languages 🌈 and the naming convention? the language name, in English. for example:

  • /usr/share/dict/american-english β€” English words
  • /usr/share/dict/danish β€” Danish words

...if they exist. which, like, they might not πŸ™ˆ but if they do, that's what they are.

⚠️ real talk bestie: such lists should be coded using the ISO 8859-1 character set encoding. not optional, not a suggestion, that's the spec πŸ’€

πŸ’œ SEE ALSO πŸ’œ

go be nosy, it's good for you:


🧚 HISTORY 🧚

the words lists are not specific β€” they can be generated from any number of sources. so like, nobody's out here claiming they came from one sacred place, they just are, and we respect it 🌸


πŸ‘‘ AUTHOR πŸ‘‘

word lists are collected and maintained by various authors. it's a group project, and somehow it actually worked out πŸ’–


so that's WORDS(5), short and sweet and honestly kind of a bop. this page comes from the Linux man-pages, dated 29 Sept 1998 (yes bestie, 1998, she's vintage and she ATE) β€” stay literate, stay slay, ily, bye πŸ’…βœ¨πŸ¦‹