On 10/08/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Selon Chris wallace <[EMAIL PROTECTED]>:
>
> >                    grep -w dog /usr/share/dict/words
>
> Well, for the record it's does not work with my settings.
> Maybe *Mr Turner* can give you a lesson as well. Sorry I'm just in the
> mood for
> a joke ...
>
> Romain
>
> $ grep -w dog /usr/share/dict/words
> bird-dog
> bull-dog
> cat-and-dog
> dog
> dog-banner
>

Ah - the original example didn't include hyphenated words (and nor does my
/usr/share/dict/words).  To match whole lines try grep -x.  Does that do it?

C.

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to