logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

PaulMartin <pm@debian.org>

Description

an  finds  all  anagrams  which  can  be  made  from  the letters in PHRASE, using words in the specified
       dictionary. The default is to use /usr/share/dict/words.

Example

       an -c imp 'Paul Martin'

       Finds anagrams for PaulMartin which contain the word imp.

Name

       an - Anagram generator

Options

-w,--words
              Print words that the letters in PHRASE can make, then exit.

       -c,--containstring
              Only print anagrams which contain string.

       -d,--dictdictionary
              Use dictionary file to find words which the letters in PHRASE can make.

       -m,--minimumword_length
              Only include word which are at least word_length long.

       -u,--usedstring
              Considers that letters in string have  already  used  when  analyzing  letters  in  PHRASE.   Like
              --contain but doesn't print out string.

       -l,--lengthnumber_words
              Finds  anagrams  which  have  a  maximum  of number_words words in them.  This is very useful when
              number of anagrams which are output is large.

       -n,--numbernumber_anagrams
              Stops after finding number_anagrams anagrams.

       -h,--help
              Print a usage message on standard output, then exit.

       -v,--version
              Print version information on standard output, then exit.

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

Thanks

RichardJones (richard@deep-thought.org)
         - Coding and algorithm design of original version.

       JulianAssange (proff@suburbia.net)
         - Algorithm design of original version.

       Please note that the email addresses for Richard and Julian are from over ten years ago and  probably  no
       longer work.

See Also