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

Understanding stdbuf

2018-11-14 Thread Peng Yu
I thought that the -oL option will wait until a line is finished in the line buffer. So I'd expect the following output of stdbuf -oL -eL ./script.sh. abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz But the actual results are interleaved. Could anybody help me understand how stdbuf works?

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