From owner-freebsd-hackers Tue Jan 17 11:10:52 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA15766 for hackers-outgoing; Tue, 17 Jan 1995 11:10:52 -0800 Received: from wcarchive.cdrom.com (wcarchive.cdrom.com [192.216.191.11]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA15669; Tue, 17 Jan 1995 11:09:20 -0800 Received: from isl.cf.ac.uk (isl-gate.elsy.cf.ac.uk [131.251.22.1]) by wcarchive.cdrom.com (8.6.8/8.6.6) with ESMTP id LAA08258; Tue, 17 Jan 1995 11:09:08 -0800 Received: (from paul@localhost) by isl.cf.ac.uk (8.6.9/8.6.9) id TAA03340; Tue, 17 Jan 1995 19:09:19 GMT From: Paul Richards Message-Id: <199501171909.TAA03340@isl.cf.ac.uk> Subject: Re: Probable bug in /bin/sh (backslash processing again.) To: ponds!rivers@dg-rtp.dg.com (Thomas David Rivers) Date: Tue, 17 Jan 1995 19:09:19 +0000 (GMT) Cc: freebsd-bugs@wcarchive.cdrom.com, freebsd-hackers@wcarchive.cdrom.com In-Reply-To: <199501170153.UAA19381@ponds.UUCP> from "Thomas David Rivers" at Jan 16, 95 08:53:32 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 540 Sender: hackers-owner@FreeBSD.org Precedence: bulk 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'