Date: Sun, 14 Mar 2010 13:30:05 GMT From: Jilles Tjoelker <jilles@stack.nl> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/117748: sh(1): Backslash quote fails in pattern for substring processing. Message-ID: <201003141330.o2EDU5KB077138@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR bin/117748; it has been noted by GNATS.
From: Jilles Tjoelker <jilles@stack.nl>
To: bug-followup@FreeBSD.org, rick.seay@yahoo.ca
Cc:
Subject: Re: bin/117748: sh(1): Backslash quote fails in pattern for
substring processing.
Date: Sun, 14 Mar 2010 14:20:11 +0100
[pattern matching characters in ${v#pat}, ${v%pat} cannot be quoted]
This is easy to fix if bin/57554 is fixed first. Currently double quotes
continue into ${v#pat} like they do into ${v+word}, different from what
the man page says. Once that is fixed, a well-directed EXP_CASE will do
it.
--
Jilles Tjoelker
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003141330.o2EDU5KB077138>
