On: Thu, Feb 04, 2010 at 06:17:58PM -0500,Glenn Knickerbocker Wrote:

} I have records with unpadded numbers I want to sort on.  I can assume
} some maximum length and go character by character:

[...]

} Or, again assuming some maximum length, I can stick a padded copy of the
} number on the left:
}
}   ... | specs ws . w1 of af 1 1.4 right 1-* n | sort | not chop 4 | ...
}
} Have I overlooked some more straightforward and more general method?

Thats probably what I would do except I would pad with zeros.

--
Rich Greenberg  N Ft Myers, FL, USA richgr atsign panix.com  + 1 239 543 1353
Eastern time.  N6LRT  I speak for myself & my dogs only.    VM'er since CP-67
Canines:Val, Red, Shasta & Casey (RIP), Red & Zero, Siberians  Owner:Chinook-L
Retired at the beach                                     Asst Owner:Sibernet-L

Reply via email to