On 08/03/2018 17:14, Herbert Xu wrote:
On Thu, Mar 08, 2018 at 12:36:04PM +0100, Harald van Dijk wrote:
The first line of this part of my patch is about something else:
x=\"; cat <<EOF
${x#"\""}
EOF
This shouldn't print anything.
Right. So here is a new patch with that change thrown in.
Related:
x=*; cat <<EOF
${x#'*'}
EOF
This shouldn't print anything either: because the * is quoted, it should
be taken as a literal and removed from $x.
Re-testing, I see this didn't work properly with my patch either.
Cheers,
Harald van Dijk
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html