Also, try |sort|uniq to get rid of duplicate entries.perl -e 'open(FILE, $ARGV[0]); print sort <FILE>' text
In reply to Re: one liner to print out sorted list of word
by MrYoya
in thread one liner to print out sorted list of word
by maksl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |