bin/117748: sh(1): Backslash quote fails in pattern for substring processing.

Jilles Tjoelker jilles at stack.nl
Sun Mar 14 13:30:06 UTC 2010


The following reply was made to PR bin/117748; it has been noted by GNATS.

From: Jilles Tjoelker <jilles at stack.nl>
To: bug-followup at FreeBSD.org, rick.seay at 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


More information about the freebsd-bugs mailing list