bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix history deletion when using negative offsets (from the e


From: Christopher Gurnee
Subject: Re: [PATCH] Fix history deletion when using negative offsets (from the end)
Date: Fri, 26 Feb 2021 12:27:18 -0500
User-agent: RoundCube WebMail

Also somewhat related, deleting a range of history only works if it's specified oldest to newest. Deleting in the other direction is a noop (no diagnostic either), e.g.:

    history -d 20-10

does nothing if the range 10-20 exists, or prints an `out of range` error otherwise. It probably makes sense to either print an error, or do the deletion although the latter would technically be a breaking change. Just my 2c...

Regards,
Chris

On 02/26/2021 11:53 am, Chet Ramey wrote:

Thanks for the report and fix.

Chet



reply via email to

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