Matthew Woehlke <[EMAIL PROTECTED]> writes:

> '-N _options_, --numeric-sort=_options_'

The other sort options can be attached to -k; how would this work here?

> 'a': convert numbers with strtol(,0) (i.e. automatically recognize
> '0x<num>' (hex), '0<num>' (octal).
> 'o': all numbers are octal, i.e. strtol(,8)
> 'x': all numbers are hexadecimal, i.e. strtol(,16)

These shouldn't use strtol; they should work regardless of the size
of the number, just as it already works for decimal numbers.

> ...and in light of 'o', 'x', perhaps '-B <num>, --numeric-base <num>'
> would be in order?

Yes, perhaps.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to