[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issues with history substitution and its documentation
From: |
Chet Ramey |
Subject: |
Re: Issues with history substitution and its documentation |
Date: |
Mon, 18 Nov 2019 11:14:31 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
On 11/3/19 9:18 AM, Jim Monte wrote:
Two more documentation issues I have found are below.
It appears that an empty substring event designator uses the string of the
previous substring event designator if none is provided and does not find
the event if there is no previous string.
Thanks for the report. I'll add text documenting the behavior. (FWIW, csh
doesn't document it, either.)
An empty "old" string in a substitute word modifier uses the previous "old"
if none is given, but uses an empty string if new is empty. If there was no
previous "old" string, an error is reported.
As I said in a previous message, this is documented in the man page but
omitted in the texinfo manual.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: Issues with history substitution and its documentation, (continued)
Re: Issues with history substitution and its documentation, Chet Ramey, 2019/11/18
Re: Issues with history substitution and its documentation,
Chet Ramey <=
Re: Issues with history substitution and its documentation, Chet Ramey, 2019/11/18
Re: Issues with history substitution and its documentation, Chet Ramey, 2019/11/18
Re: Issues with history substitution and its documentation, Chet Ramey, 2019/11/18