[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fc: trim range instead of erroring out
From: |
Martijn Dekker |
Subject: |
Re: [PATCH] fc: trim range instead of erroring out |
Date: |
Thu, 20 Aug 2020 14:08:34 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
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