On Fri, 27 Jul 2018 21:49:03 +0700
Robert Elz wrote:
> Date:Fri, 27 Jul 2018 13:39:18 +0200
> From:Edgar =?iso-8859-1?B?RnXf?=
> Message-ID: <20180727113917.gd48...@trav.math.uni-bonn.de>
>
> | It has been brought to my attention that quoting the "word" in sh's
Date:Fri, 27 Jul 2018 13:39:18 +0200
From:Edgar =?iso-8859-1?B?RnXf?=
Message-ID: <20180727113917.gd48...@trav.math.uni-bonn.de>
| It has been brought to my attention that quoting the "word" in sh's
| substring processing causes word to be matched literally
It has been brought to my attention that quoting the "word" in sh's
substring processing causes word to be matched literally rather than
being treated as a pattern. I.e.,
x="abc"
y="?"
echo "${x#"$y"}"
outputs "abc", while
x="abc"
y="?"
echo