bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: L A Walsh
Subject: bug#33371: RFC: option for numeric sort: ignore-non-numeric characters
Date: Tue, 13 Nov 2018 18:32:55 -0800
User-agent: Thunderbird

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 renumber and rename them all, but I just wanted
an instant command that could sort numeric values even if embedded
in a line, where the "field" was determined by the start/stop of
numeric characters.

Or is there an options for this already, and my manpage out of date?

Thx
-l






reply via email to

[Prev in Thread] Current Thread [Next in Thread]