[CentOS] tricky perl question - ascending order
Eduardo Grosclaude
eduardo.grosclaude at gmail.comSun May 23 20:41:09 UTC 2010
- Previous message: [CentOS] tricky perl question - ascending order
- Next message: [CentOS] tricky perl question - ascending order
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, May 23, 2010 at 5:39 PM, Jozsi Vadkan <jozsi.avadkan at 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
- Previous message: [CentOS] tricky perl question - ascending order
- Next message: [CentOS] tricky perl question - ascending order
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list