Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: (jeffa) Re: Yet Another Newbie Code...

by majin (Acolyte)
on Aug 19, 2002 at 03:36 UTC ( [id://191074]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://191074]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-04-25 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found