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
never saw the file redirector < on the beginning of a shell command, i use it for things like:
update: second even shorter line with code from dakkar
is exactly what i was looking for!!!< file tr [:blank:],[:punct:] '\n' | sort -fu < file tr -cs '[:alnum:]' '\n'|sort -fu
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
In Section
Seekers of Perl Wisdom