[Haskell-cafe] Re: How would you hack it?

Ben Franksen ben.franksen at online.de
Thu Jun 5 15:36:20 EDT 2008


Achim Schneider wrote:
> Andrew Coppin <andrewcoppin at btinternet.com> wrote:
>> Achim Schneider wrote:
>> > Andrew Coppin <andrewcoppin at btinternet.com> wrote:
>> >   
>> >> I have a file that contains several thousand words, seperated by
>> >> white space. [I gather that on Unix there's a standard location for
>> >> this file?]
>> > Looking at /usr/share/dict/words, I'm assured that the proper
>> > seperator is \n.
>> >   
>> 
>> Thanks. I did look around trying to find this, but ultimately failed.
>> (Is it a standard component, or is it installed as part of some
>> specific application?)
>> 
> ksf at solaris ~ % equery b /usr/share/dict/words
> [ Searching for file(s) /usr/share/dict/words in *... ]
> sys-apps/miscfiles-1.4.2 (/usr/share/dict/words)
> ksf at solaris ~ % eix miscfiles
> [I] sys-apps/miscfiles
>      Available versions:  1.4.2 {minimal}
>      Installed versions:  1.4.2(18:27:27 02/14/07)(-minimal)
>      Homepage:            http://www.gnu.org/directory/miscfiles.html
>      Description:         Miscellaneous files

On Ubuntu (and supposedly debian):

ben at sarun[1]: ~ > dpkg -S /usr/share/dict/words
dictionaries-common: /usr/share/dict/words

Cheers
Ben



More information about the Haskell-Cafe mailing list