On 05/24/2010 06:39 AM, Jozsi Vadkan 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
> 
> Thank you!!

FYI a lovely piece of magic from 1994:-)

http://en.wikipedia.org/wiki/Schwartzian_transform

Kal
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to