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