Date: Mon, 5 Jul 1999 11:07:47 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: howardjp@wam.umd.edu (Jamie Howard) Cc: archie@whistle.com, freebsd-hackers@FreeBSD.org, tech-userlevel@netbsd.org, tech@openbsd.org Subject: Re: Repalcement for grep(1) Message-ID: <199907051807.LAA54803@bubba.whistle.com> In-Reply-To: <Pine.GSO.4.10.9907042126350.23842-100000@rac9.wam.umd.edu> from Jamie Howard at "Jul 4, 99 09:32:22 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Jamie Howard writes: > > Perhaps this will help with -w? > > Yes, I received a patch from Simon Burge which implements this. It also > beats using [^A-Za-z] and [A-Za-z$] as I was and GNU grep does. I am > still having trouble with -x though. It turns out that even if I specify > a commandline with a pattern of the form "^pattern$", it fails. If I > specify "^pattern" it works. If I specify "pattern$" it does not. I have > yet to find a case where my version will sucessfully match when a $ is at > the end. Has anyone encountered anything like this before? Are you sure you're stripping out the newline and carriage return? -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907051807.LAA54803>