Sort file by length of lines
1 2 cat $@ | awk '{ print length, $0 }' | sort -n | awk '{$1=""; print $0}'
DZone Snippets > AlpT > awk
12733 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
1 2 cat $@ | awk '{ print length, $0 }' | sort -n | awk '{$1=""; print $0}'