On Thursday 08 February 2007 14:28, David Haller wrote:
Hello,
On Wed, 07 Feb 2007, Randall R Schulz wrote:
On Wednesday 07 February 2007 15:30, Jan Karjalainen wrote:
[..]
I found the expression: .+LOG.+
You're still making it too complicated for programs such as ed, vi, grep, egrep or sed, patterns are not required to match the whole line. That means the ".+" parts are redundant. If you really want to exclude from treatment those lines where "LOG" occurs at the beginning or end, then use the pattern ".LOG." (sans quotes, of course).
That means 'one arbitrary character' "LOG" 'one arbitrary character', which is something else.
How so? It will match LOG as long as it's not at the beginning or end of a line, which is what I said. Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org