Date: Tue, 17 Jan 1995 19:09:19 +0000 (GMT) From: Paul Richards <paul@isl.cf.ac.uk> To: ponds!rivers@dg-rtp.dg.com (Thomas David Rivers) Cc: freebsd-bugs@wcarchive.cdrom.com, freebsd-hackers@wcarchive.cdrom.com Subject: Re: Probable bug in /bin/sh (backslash processing again.) Message-ID: <199501171909.TAA03340@isl.cf.ac.uk> In-Reply-To: <199501170153.UAA19381@ponds.UUCP> from "Thomas David Rivers" at Jan 16, 95 08:53:32 pm
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Thomas David Rivers who said > This is most likely a bug in /bin/sh backslash processing within quotes. > I've fixed this in current. With the current sh, isl:~% sh $ egreppat="^(` sed -e 's/[.+*()|[]/\\\\&/g' -e 's/,/|/g' </tmp/t1 `) " $ echo $egreppat ^(rec\.collecting) $ -- Paul Richards, FreeBSD core team member. Phone: +44 1222 874000 x6646 (work), +44 1222 457651 (home) Dept. Mechanical Engineering, University of Wales, College Cardiff. Internet: paul@FreeBSD.org, JANET(UK): RICHARDSDP@CARDIFF.AC.UK
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501171909.TAA03340>