files

Tim ignored_mailbox at yahoo.com.au
Wed Nov 29 15:52:37 UTC 2006


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.

Are you sure about that?  I thought they just meant that the string
begins with, and ends with, the enclosed characters.  I didn't think
they actually refered to end-of-line indicators, the same markers are
used in wildcarding where there isn't a notion of "lines" (e.g. URIs).

-- 
(Currently testing FC5, but still running FC4, if that's important.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the users mailing list