[SunHELP] sort

Ramon Gonzalez sunhelp at sunhelp.org
Fri Jul 27 18:20:21 CDT 2001


Assuming your ip list is in a file.

sort -t. +2n -3 +3n <filename>


ramon.


-----Original Message-----
From: william.x.ng at verizon.com [mailto:william.x.ng at verizon.com]
Sent: Friday, July 27, 2001 11:10 AM
To: sunhelp at sunhelp.org
Subject: [SunHELP] sort



Does anyone know how to sort this
146.13.10.30
146.13.1.30
146.13.11.30
146.13.1.31
146.13.1.4
146.13.9.30
148.13.1.30
148.13.2.10

to

146.13.1.4
146.13.1.30
146.13.1.31
146.13.9.30
146.13.10.30
146.13.11.30
148.13.1.30
148.13.2.10

Thanks
Will

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list