Tom:

 

                Lacking a better way, I TRANSLATE characters 0-9 to hex
00-09 first, do the sort, then translate then back after the sort.

 

David Wakser

 

From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Tom Huegel
Sent: Thursday, December 16, 2010 10:12 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: I saw a pipe here, now I can't find it.

 

I know I saw someone posted this way back when but I can't find it.

 

A real simple pipe to do a 'hex' sort. Input is device addresses.

 

pipe literal D12B 127B B729 1111 | split | sort | console   <this does a
character sort.

 

What do I add to get the outout to be 1111 127B B729 D12B..??

 

Thanks 

 

 

 

 



Confidentiality Note: This e-mail, including any attachment to it, may contain 
material that is confidential, proprietary, privileged and/or "Protected Health 
Information," within the meaning of the regulations under the Health Insurance 
Portability & Accountability Act as amended.  If it is not clear that you are 
the intended recipient, you are hereby notified that you have received this 
transmittal in error, and any review, dissemination, distribution or copying of 
this e-mail, including any attachment to it, is strictly prohibited. If you 
have received this e-mail in error, please immediately return it to the sender 
and delete it from your system. Thank you.

Reply via email to