[R] OT UNIX grep question
francoisromain at free.fr
francoisromain at free.fr
Thu Aug 10 22:32:05 CEST 2006
Selon Chris wallace <crassshed at gmail.com>:
> On 10/08/06, Rolf Turner <rolf at erdos.math.unb.ca> wrote:
> >
> > francoisromain at free.fr wrote:
> >
> > grep '^dog$' /usr/share/dict/words
> >
> >
> or (simpler, in my view)
>
> grep -w dog /usr/share/dict/words
>
> Chris.
>
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
....
water-dog
wolf-dog
yellow-dog
More information about the R-help
mailing list