technical notes about web, languages, graphics or other software development stuff.
表題の通り、以下の処理をするワンライナー。
$ cat target.txt | uniq | ruby -ne 'puts sprintf("%03d %s",$_.chomp.size,$_)' | sort -r | head -5