Re: Is this a bug in grep, or is it me...

1999-10-02 Thread Craig Sanders
On Fri, Oct 01, 1999 at 04:19:51PM +, Dale Scheetz wrote: > This leaves me with the unresolved problem of distinguishing between the > two package names. > > I just read through the grep manpage (again) looking for something that > will enforce an exact match, when I realised that I can simply

Re: Is this a bug in grep, or is it me...

1999-10-01 Thread Ben Pfaff
Dale Scheetz <[EMAIL PROTECTED]> writes: > > > The hyphon at the ned of hello in "hello-debhelper" isn't any of these, > > > but grep declares it to match anyway! Is this something to do with the > > > form of my expression? > > > > It's preceded by a character that isn't a letter, digit or under

Re: Is this a bug in grep, or is it me...

1999-10-01 Thread Dale Scheetz
On 1 Oct 1999, Ben Pfaff wrote: > Dale Scheetz <[EMAIL PROTECTED]> writes: > > > $ grep -w debhelper override.potato > > debhelper optionaldevel > > hello-debhelper optionaldevel > > > > In the man page, under the -w option, it says that, in order to match, the > > string m

Re: Is this a bug in grep, or is it me...

1999-10-01 Thread Ben Pfaff
Dale Scheetz <[EMAIL PROTECTED]> writes: > $ grep -w debhelper override.potato > debhelper optionaldevel > hello-debhelper optionaldevel > > In the man page, under the -w option, it says that, in order to match, the > string must be either at the beginning of the line, or pr