[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 10:39:40 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
On 10/3/19 6:19 PM, Jim Monte wrote:
=============================================================================
Documentation of the :h and :t modifiers in section 9.3.3 is incomplete.
:h removes the last / and everything after it if a / is present. Otherwise
it does nothing.
:t removes everything before and including the last / if one is present.
Otherwise it does nothing.
I'm comfortable with the existing language, which is the same as the csh
documentation.
=============================================================================
Documentation of the :r and :e modifiers is incomplete.
:r removes the last ".suffix" and everything after it, if a ".suffix" is
present. Otherwise it does nothing.
:e leaves the last ".suffix" and everything after it, if a ".suffix" is
present. Otherwise it does nothing.
I'm comfortable with the existing language.
=============================================================================
Documentation of :q and :x is incomplete.
If :q and :x are repeated, the last specification is taken.
Yes, I'll note that q and x are mutually exclusive, last one wins.
=============================================================================
Finally, documentation of G should mention that it can be used with both :s
and &.
Good catch.
Chet
--
``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, 2019/11/18
- Re: Issues with history substitution and its documentation, Chet Ramey, 2019/11/18
- Re: Issues with history substitution and its documentation, Jim Monte, 2019/11/18
- Re: Issues with history substitution and its documentation, Chet Ramey, 2019/11/19
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
Re: Issues with history substitution and its documentation,
Chet Ramey <=
Re: Issues with history substitution and its documentation, Chet Ramey, 2019/11/18