Re: Bash parameter expansion (remove largest trailing match, remove larg
From:
Bruce Lilly
Subject:
Re: Bash parameter expansion (remove largest trailing match, remove largest leading match, pattern replacement) does not work
Date:
Sat, 29 Aug 2020 15:25:44 -0400
Unfortunately, because bash is GPL, I can't post the copyrighted script
which is covered by a non-GPL license.
On Sat, Aug 29, 2020, 15:22 Ilkka Virta <itvirta@gmail.com> wrote:
> 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.
>
>