I'm having a problem with sort.  It's not acting like sort :)

I have a file that, when it sorts, has line like these in this order

     apmenu_vend|g|FL|Print Vendor Aging|1|:menu:apmenu_aging:|
     apmenu_vend|h|FL|Print Vendor Cash Require|1|:menu:apmenu_cashrq:|
     apmenu_vendinfo|a|RP|Print Summary by Name|4|:pause:p:|
     apmenu_vend|i|RP|Print Vendor Open Items|3|:pause:p:|

when sorted with GNU sort 2.0, whereas under GNU sort 1.22 and the sort that
comes with SCO OSR5 the file is sorted:

     apmenu_vendinfo|a|RP|Print Summary by Name|4|:pause:p:|
     apmenu_vend|g|FL|Print Vendor Aging|1|:menu:apmenu_aging:|
     apmenu_vend|h|FL|Print Vendor Cash Require|1|:menu:apmenu_cashrq:|
     apmenu_vend|i|RP|Print Vendor Open Items|3|:pause:p:|

I'm having a hard time even explaining this behavior, let alone getting 
GNU sort 2.0 to sort the file like 1.22 does.

I'm not sure if this is a bug or not, but wasn't sure who else I could ask.

Other info:  GNU sort 2.0 is on a stock RH 6.1 install
             GNU sort 1.22 is on a stock RH 5.1 Alpha install

Please let me know if you need any more info, or can offer any insite...

Thanks,
Norm!
-- 
I'm full of tinier men!
All things being equal, fat people use more soap...
WWBBD - What Would Brian Boytano Do

Reply via email to