Date: Fri, 9 Apr 1999 08:23:48 -0700 (PDT) From: Tor Egge <tegge@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh expand.c expand.h Message-ID: <199904091523.IAA05343@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tegge 1999/04/09 08:23:48 PDT Modified files: bin/sh expand.c expand.h Log: When a variable expansion is enclosed in double quotes, the internal representation of the expression is quoted. Take care of this when doing pattern matching in conjunction with trimming. #!/bin/sh c=d:e; echo "${c%:e}" PR: NetBSD PR#7231 Noticed by: Havard Eidnes <Havard.Eidnes@runit.sintef.no> Revision Changes Path 1.25 +54 -14 src/bin/sh/expand.c 1.8 +2 -2 src/bin/sh/expand.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904091523.IAA05343>