files

Jacques B. jjrboucher at gmail.com
Wed Nov 29 17:43:07 UTC 2006


On 11/29/06, Tim <ignored_mailbox at yahoo.com.au> wrote:
> Jacques B.:
> >> grep -ir "^put sentence here$" *
>
> Ingemar Nilsson:
> > Note that this will only match if the sentence is on a line by itself,
> > since ^ and $ means beginning of line and end of line respectively.
Exactly, thanks for pointing that out to the OP.  Tried to keep my
posting short and made it too short. I provided that on the assumption
that the OP was looking to do exactly that, find something that was on
it's own line.

Jacques B.




More information about the fedora-list mailing list