Update to take into account both sorting algorithms:
perl -e'$_=sprintf("%08b"x12,map hex,($]<5.008?"194E8E91CC3A0097991C0350":"5EE62C8938D2813268509E9B")=~/../g);print sort{(1+chop)*2-3}split"","Puht r arJtel\ncerae on,khs";'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Abusing sort()
by davidrw (Prior) on Jul 11, 2005 at 19:44 UTC | |
by jdalbec (Deacon) on Jul 12, 2005 at 01:42 UTC | |
|
Re: Abusing sort()
by ysth (Canon) on Jul 12, 2005 at 00:36 UTC | |
by phroggy (Monk) on Jul 12, 2005 at 01:39 UTC | |
by ysth (Canon) on Jul 12, 2005 at 01:44 UTC |