in reply to (jeffa) Re: Yet Another Newbie Code...
in thread Yet Another Newbie Code...

Can this take files as input and/or output? I am just asking and not questioning your ways.

Majin
  • Comment on Re: (jeffa) Re: Yet Another Newbie Code...

Replies are listed 'Best First'.
Re^3: Yet Another Newbie Code...
by Aristotle (Chancellor) on Aug 19, 2002 at 04:31 UTC
    The in you see in jeffa's post is a filename.. you can actually use any number of input filenames as in perl -F'\W+' -ane 'print join $/,@F' in1 in2 in3 in4 in5 in6 in7 >> wordlist Personally I would amend this to read perl -F'\W+' -alne '@word{@F}=(); END { print sort keys %word }' in >> wordlist which outputs only unique words, sorted alphanumerically.

    Makeshifts last the longest.