From: pc+usenet@asdf.org   
      
   Eli the Bearded <*@eli.users.panix.com> writes:   
   > In alt.anagrams, Phil Carmody wrote:   
   > > The console-based "an" should be compilable on any system. It looks   
   > > like Debian have given it a complete rewrite since I last patched it,   
   > > pick whichever suits you best. I presume Tk should be available too,   
   > > in which case you can try my disgustingly ugly "anaffront" front end   
   > > to it.   
   >   
   > I've never heard of the 'an' one before. I've known and used 'wordplay'   
   > for a very long time. Mostly I use it with the "list candidate words"   
   > ("-l") "only" ("-x") mode. I installed ('apt-get install an') 'an' just   
   > now and tried it:   
   >   
   > $ an --help   
   > Usage: an [OPTION] PHRASE   
   >   
   > -c, --contain PHRASE print anagrams containing PHRASE   
   > -d, --dict DICTIONARY search DICTIONARY for words   
   > -l, --length WORDS find anagrams with up to WORDS number of words   
   > -m, --minimum WORDLEN only use words at least WORDLEN long   
   > -n, --number NUM print maximum of NUM anagrams   
   > -w, --words print words that PHRASE letters make   
   > -t, --test ANAG test if ANAG can be made with PHRASE   
   > -u, --used PHRASE Flag PHRASE letters already used   
   > --help display this help and exit   
   > --version output version information and exit   
   > 64 bit support   
   >   
   > $ an --words "Anagram Maker"   
   >   
   > Abort(coredump)   
      
   an --version please? (plus distro/package name)   
      
   Having said that, it sounds like Anna's reproducing it here (with a debian   
   0.9-4 version from 2004), and I've just reproduced it on my forked version   
   on my phone. I am prepared to fix it in my fork, but after the can't-be-arsed   
   attitude the debian maintainer demonstrated last time I provided a fix, and   
   the fact that debian gobbled poettering's cock, I can't be bothered pushing   
   stuff back to them now.   
      
   > $   
   >   
   > However 'an -w' does not coredump. The list of words output includes   
   > "née" and "manège". While it is interesting to have output beyond   
   > pure ASCII, there is only one "e" in "Anagram Maker" and no accented   
   > ones.   
      
   That sounds like it's pre- my fixes. Non-ascii-alpha such as ' was   
   simply ignored, but that included lettery ones too. In order to cope   
   with real Finnish, I made it recognise more bytes as letters. However,   
   it was not unicode aware, so it was only a hack. But it worked for me.   
      
   > $ an -u 'A Ragnarök, Emma' -w 'Anagram Maker'   
   > an: no words in '/usr/share/dict/words' can be made   
   > $   
      
   Again, it's seen the -u parameter as containing "Ragnark".   
      
   Phil   
   --   
   A well regulated militia, being necessary to the security of a free state,   
   the right of the people to keep and bear arms, shall be well regulated.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|