AN(6)

✨ AN(6) ✨

okay bestie, gather round, because this one is genuinely iconic πŸ’… it's a page from the Games Manual, section 6, and it's all about a lil tool called an. no cap, it's a whole vibe.


πŸŽ€ NAME πŸŽ€

an β€” Anagram generator. yes literally. it makes anagrams. slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

an [-w] [-c string] [-d dictionary] [-l number_words] [-m word_length]
[-u string] [-n number_anagrams] [-h] [-v] [--words] [--contain string]
[--dict dictionary] [--length number_words] [--minimum word_length]
[--used string] [--number number_anagrams] [--help] [--version] PHRASE

🌸 DESCRIPTION 🌸

okay so here's the tea β˜• an finds all the anagrams that can be made from the letters in PHRASE, using the words sitting in whichever dictionary you point it at. and if you don't point it anywhere? it just goes with /usr/share/dict/words by default. default queen behaviour πŸ‘‘


πŸ’– OPTIONS πŸ’–

  • -w, --words β€” prints out the words that the letters in PHRASE can make, then dips out (exits). just the words, no anagram assembly. 🫢
  • -c, --contain string β€” only prints anagrams that contain string. like a filter but make it picky. ✨
  • -d, --dict dictionary β€” use the dictionary file to find the words that the letters in PHRASE can make. πŸ“
  • -m, --minimum word_length β€” only includes words that are at least word_length long. no baby words allowed. πŸ’€
  • -u, --used string β€” treats the letters in string as already used when it's analyzing the letters in PHRASE. it's like --contain but it does not print out string. sneaky. πŸ™ˆ
  • -l, --length number_words β€” finds anagrams that have a maximum of number_words words in them. this is very useful when the number of anagrams which are output is large β€” like, when the output is about to spiral, this is your girl. πŸ”₯
  • -n, --number number_anagrams β€” stops after finding number_anagrams anagrams. enough is enough bestie βœ‹
  • -h, --help β€” prints a usage message on standard output, then exits. your classic cry for help, but helpful. πŸ’œ
  • -v, --version β€” prints version information on standard output, then exits. the receipts. 🧚

🌈 EXAMPLE 🌈

an -c imp 'Paul Martin'

finds anagrams for Paul Martin which contain the word imp. obsessed actually 😭


πŸ‘‘ AUTHOR πŸ‘‘

Paul Martin <pm@debian.org>


πŸ’œ THANKS πŸ’œ

Richard Jones (richard@deep-thought.org)

  • Coding and algorithm design of original version.

Julian Assange (proff@suburbia.net)

  • Algorithm design of original version.
okay so important note: the email addresses for Richard and Julian are from over ten years ago and probably no longer work. so like, don't come for me if they bounce πŸ™ˆ

Copyright (c) Paul Martin 2012. All rights reserved.


and that's the whole page, bestie 🫢 it's from the Games Manual, section 6 β€” the footer just says AN(6), and yeah, that's the source and the date-adjacent energy right there. go forth and anagram πŸ’–βœ¨