bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: devel: Questions about quoting in the new replacement ${var/pat/&}


From: Koichi Murase
Subject: Re: devel: Questions about quoting in the new replacement ${var/pat/&}
Date: Thu, 20 Jan 2022 10:46:58 +0900

2022年1月20日(木) 9:39 Chet Ramey <chet.ramey@case.edu>:
> It will be in bash-5.2-beta.

Thank you for the clarification.

> There is fairly extensive documentation in the current version of the
> texinfo manual. Take a look; tell me what you think.

Sorry, I hadn't checked the bashref.html of the devel branch. Now I
have read the description. I think this is sufficiently clear, and in
particular, these examples are very useful to understand the actual
behavior. I like it. I couldn't find similar explanations or examples
for glob operators (*, ?, [, @(), etc.) of ${var#pat}, ${var%pat}, and
${var/pat} and anchors # and % of ${var/#pat} and  ${var/%pat}, but
maybe we can have similar examples also for those pattern strings.

--
Koichi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]