On 11/4/19 9:42 AM, Jim Monte wrote:
Related to the issues with the ? event designator, the %word designator
substitutes the *first* word  matched by the ? event designator or nothing
if the match begins with a space. These details are not documented.

Thanks. The issue is that, unlike csh, bash allows substring matches to
span `words'. This leads to issues when the matching portion does not
begin on a word character. If the match begins on a non-word, how do you
substitute a word there?

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to