coreutils
[Top][All Lists]
Advanced

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

Re: nl: line number decrement


From: Pádraig Brady
Subject: Re: nl: line number decrement
Date: Sun, 25 Oct 2020 17:16:08 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Thunderbird/82.0

On 25/10/2020 14:16, Pádraig Brady wrote:
On 25/10/2020 08:39, KOBAYASHI Takashi wrote:
Hello,

I wrote a little patch for nl(1). Could you merge this mainstream?
It reduces the line number with the "--line-increment(-i)" option and
negative value. The "--starting-line-number(-v)" option has been allowed
negative value but "-i" has not until now. It should be unified.

This makes sense for consistency.

I'll also add another commit along the lines off the following,
to only fail when we need to output the overflowed number,
and add some tests around these limits.

I'll apply the attached two patches later.

thanks again,
Pádraig

Attachment: nl-decrement.patch
Description: Text Data

Attachment: nl-overflow.patch
Description: Text Data


reply via email to

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