Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: one liner to print out sorted list of word (sort(1))

by maksl (Pilgrim)
on Mar 30, 2003 at 21:06 UTC ( #246786=note: print w/replies, xml ) Need Help??


in reply to Re: one liner to print out sorted list of word (sort(1))
in thread one liner to print out sorted list of word

thx a lot Aristotle for your "_minimalistic_" reply :)
update: second even shorter line with code from dakkar
< file tr [:blank:],[:punct:] '\n' | sort -fu < file tr -cs '[:alnum:]' '\n'|sort -fu
is exactly what i was looking for!!!
never saw the file redirector < on the beginning of a shell command, i use it for things like:
mail -s "test" person@what_ever.org < file

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2023-03-24 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (62 votes). Check out past polls.

    Notices?