Re: find a string in files
- From: Stephan Grein <stephan@xxxxxxxxxxxxxxxx>
- Date: Sat, 28 Oct 2006 22:50:00 +0200
Gary Wessle wrote:
Hi
$ grep -FHrn string /path/
will find occurrences of the string in files recursively, but will
also find "stringing" and "strings".
how can I limit it to only "string"
grep -FHwire string /path/
thanks
np
P.S.: It's called a word boundary.
HTH,
--
Stephan Grein, <stephan at stephan minus rockt dot de>
https://stephan-rockt.de
GnuPG-Key-ID: 0xF8C275D4
FingerPrint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
.
- References:
- find a string in files
- From: Gary Wessle
- find a string in files
- Prev by Date: find a string in files
- Next by Date: Re: Using the grep command to filter
- Previous by thread: find a string in files
- Index(es):
Relevant Pages
|