On Sun, May 23, 2010 at 5:39 PM, Jozsi Vadkan <jozsi.avad...@gmail.com> wrote:
> The solution [from the FreeBSD mailing list]:
>
> perl -00 -e 'print map $_->[0], sort { $a->[1] <=> $b->[1] } map [$_,
> tr/\n//], <>' < before.txt > after.txt

Wow...

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to