Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.bash.bug > #16785

Re: [PATCH] fc: trim range instead of erroring out

From Martijn Dekker <martijn@inlv.org>
Newsgroups gnu.bash.bug
Subject Re: [PATCH] fc: trim range instead of erroring out
Date 2020-08-20 14:08 +0100
Message-ID <mailman.452.1597928925.2469.bug-bash@gnu.org> (permalink)
References <bee8013d-39e9-7433-934f-89fce4134369@inlv.org> <b86c684a-64fc-e622-f5b0-16d382a1a27b@case.edu> <0a83590f-880b-ba7e-ccb7-6d0d424fb586@inlv.org>

Show all headers | View raw


Op 12-08-20 om 16:40 schreef Chet Ramey:
> What's your opinion about what the `as appropriate' means? An out-of-range
> `first' gets substituted with the first command in the history, and an out-
> of-range `last' gets the last history entry?

Yes, that was my intention.

>  Bash does one thing, your
> patch does another, but neither one does that.

Then I suppose my patch was wrong. It seemed to work for me.

- Martijn

-- 
||	modernish -- harness the shell
||	https://github.com/modernish/modernish
||
||	KornShell lives!
||	https://github.com/ksh93/ksh

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: [PATCH] fc: trim range instead of erroring out Martijn Dekker <martijn@inlv.org> - 2020-08-20 14:08 +0100

csiph-web