The following reply was made to PR bin/172862; it has been noted by GNATS. From: Garrett Cooper <yaneg...@gmail.com> To: johnandsa...@cox.net Cc: freebsd-gnats-sub...@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 <johnandsa...@cox.net> 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 _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"