Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15602
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Issues with history substitution and its documentation |
| Date | 2019-11-18 10:39 -0500 |
| Message-ID | <mailman.1848.1574091593.13325.bug-bash@gnu.org> (permalink) |
| References | <CA+VKLw-WX8zUz06MZ9ThuMhUuW97aJ5ted8oSfJSvrVJBLW3hA@mail.gmail.com> <4e311b5a-d290-437a-e5dd-5f5f35115a3b@case.edu> |
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/
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Issues with history substitution and its documentation Chet Ramey <chet.ramey@case.edu> - 2019-11-18 10:39 -0500
csiph-web