bug#33371: RFC: option for numeric sort: ignore-non-numeric characters

2018-12-13 Thread Assaf Gordon
tags 33371 notabug close 33371 stop Hello, On 2018-11-18 6:08 p.m., L A Walsh wrote: On 11/14/2018 12:27 AM, Erik Auerswald wrote: Perhaps --version-sort could work for you? "-V" seems like it might be sufficient, Given the above, I'm closing this item. regards, - assaf

bug#33371: RFC: option for numeric sort: ignore-non-numeric characters

2018-11-18 Thread L A Walsh
On 11/14/2018 12:27 AM, Erik Auerswald wrote: Hi, On Tue, Nov 13, 2018 at 06:32:55PM -0800, L A Walsh wrote: I have a bunch of files numbered from 1-over 2000 without leading zeros (think rfc's)... They have names with a non-numeric prefix & suffix around the number. Are prefix and suffix

bug#33371: RFC: option for numeric sort: ignore-non-numeric characters

2018-11-14 Thread L A Walsh
On 11/13/2018 6:44 PM, Eric Blake wrote: On 11/13/18 8:32 PM, L A Walsh wrote: I have a bunch of files numbered from 1-over 2000 without leading zeros (think rfc's)... They have names with a non-numeric prefix & suffix around the number. It would be nice if sort had the option to ignore non-

bug#33371: RFC: option for numeric sort: ignore-non-numeric characters

2018-11-14 Thread Erik Auerswald
Hi, On Tue, Nov 13, 2018 at 06:32:55PM -0800, L A Walsh wrote: > I have a bunch of files numbered from 1-over 2000 without leading zeros > (think rfc's)... > They have names with a non-numeric prefix & suffix around the number. Are prefix and suffix constant? RFC files are usually named rfc${NR}.

bug#33371: RFC: option for numeric sort: ignore-non-numeric characters

2018-11-13 Thread Eric Blake
On 11/13/18 8:32 PM, L A Walsh wrote: I have a bunch of files numbered from 1-over 2000 without leading zeros (think rfc's)... They have names with a non-numeric prefix & suffix around the number. It would be nice if sort had the option to ignore non-numeric data and only sort on the numeric dat

bug#33371: RFC: option for numeric sort: ignore-non-numeric characters

2018-11-13 Thread L A Walsh
I have a bunch of files numbered from 1-over 2000 without leading zeros (think rfc's)... They have names with a non-numeric prefix & suffix around the number. It would be nice if sort had the option to ignore non-numeric data and only sort on the numeric data in the 'lines'/'files'. Yeah, I can