>>>>> "Rich" == Rich Shepard <[email protected]> writes:

Rich>   [...] Using -g (general sort), [...]

I want to take this opportunity to personally take credit for the -g
option to sort.  The patch that added this was at my behest, it
interpretted numbers in scientific notation.

commit 34fc818d7edaefcc4a420f1da3b7002d35aa4103
Author: Jim Meyering <[email protected]>
Date:   Wed Nov 15 21:42:47 1995 +0000

    Add support for sorting numbers in scientific notation.
    Include xstrtod.h.
    (struct keyfield): Add field: general_numeric.
    (usage): Describe -g option.
    (general_numcompare): New function.
    (keycompare): Use new comparison function when general_numeric
    flag is set.
    (set_ordering): Honor `g' flag.
    (main): Initialize and use new field.
    From Marcus Daniels <[email protected]>.

Marcus was working for us at the time.  It is much slower than a normal
sort, but if you need to sort scientific notation, it's real helpful.


-- 
Russell Senior, President
[email protected]
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to