[R] OT UNIX grep question

Erin Hodgess hodgess at gator.dt.uh.edu
Thu Aug 10 06:40:24 CEST 2006


Dear R People:

I want to use the "grep" command in UNIX/Linux to check
some words from the dictionary.

Let's say I use:

grep dog /usr/share/dict/words

and I get back

bulldog
dog
dogged

and so on.

How could I just get back "dog" with the grep command please?

Thanks,
Sincerely
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu



More information about the R-help mailing list