From owner-freebsd-bugs@FreeBSD.ORG Sun Oct 21 01:30:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D764E212 for ; Sun, 21 Oct 2012 01:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id BF9038FC0C for ; Sun, 21 Oct 2012 01:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9L1U1IR056439 for ; Sun, 21 Oct 2012 01:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9L1U163056436; Sun, 21 Oct 2012 01:30:01 GMT (envelope-from gnats) Date: Sun, 21 Oct 2012 01:30:01 GMT Message-Id: <201210210130.q9L1U163056436@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garrett Cooper Subject: Re: bin/172862: sed improperly deals with escape chars X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Garrett Cooper List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 01:30:01 -0000 The following reply was made to PR bin/172862; it has been noted by GNATS. From: Garrett Cooper To: johnandsara2@cox.net Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/172862: sed improperly deals with escape chars Date: Sat, 20 Oct 2012 18:23:26 -0700 On Sat, Oct 20, 2012 at 5:37 PM, John D. Hendrickson and Sara Darnell wrote: ... > What I see is your using [] wrong. '\t' doesn't go inside it for many WELL > documented reasons. Cite documentation please and explain where I got it wrong. > Furthermore sed mathes '\t' without [] so why bother filing a bug against [] > ? The point was to match one or the other as this was something that someone else wrote that's a valid regular expression in bracket notation that I executed on both FreeBSD and Linux. '\040' != '\011' and as such a space shouldn't be a drop in replacement for a horizontal tab. The PR was filed to note the discrepancy. Thanks, -Garrett