Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16850 > unrolled thread

Re: Bash parameter expansion (remove largest trailing match, remove largest leading match, pattern replacement) does not work

Started byIlkka Virta <itvirta@gmail.com>
First post2020-08-29 22:22 +0300
Last post2020-08-29 22:22 +0300
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Bash parameter expansion (remove largest trailing match, remove largest leading match, pattern replacement) does not work Ilkka Virta <itvirta@gmail.com> - 2020-08-29 22:22 +0300

#16850 — Re: Bash parameter expansion (remove largest trailing match, remove largest leading match, pattern replacement) does not work

FromIlkka Virta <itvirta@gmail.com>
Date2020-08-29 22:22 +0300
SubjectRe: Bash parameter expansion (remove largest trailing match, remove largest leading match, pattern replacement) does not work
Message-ID<mailman.1728.1598728978.2469.bug-bash@gnu.org>
On Sat, Aug 29, 2020 at 9:56 PM Bruce Lilly <bruce.lilly@gmail.com> wrote:

> Please don't assume that something output by printf (without quoting) for
> clarity is representative of actual expansion by the shell when properly
> quoted.
>

If you don't want people to assume (and you shouldn't, if you want them to
help you),
you'd better post the actual script you use, and not just something output
by printf.
Without that, it's impossible to check what quoting you used, or to
reproduce the issue.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web