[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
No error from unquoted numbers in ReplaceIfNoLinesMatching
From: |
Chip Seraphine |
Subject: |
No error from unquoted numbers in ReplaceIfNoLinesMatching |
Date: |
Fri, 5 Dec 2003 16:24:53 -0600 |
User-agent: |
KMail/1.5 |
Just spent a lot of time debugging a problem with editfiles not updating a
file, and it turned out the reason was that I had:
ReplaceLinesMatchingField 6
instead of
ReplaceLinesMatchingField "6"
The annoying thing was that even at -d2 I was not getting an error message for
this; the line was just being ignored. Grr. We really ought to get at least
a warning for this, since it results in Surprising Behavior.
Maybe it is just the friday afternoon brainfog, but I didn't see where the
error message ought to go for this one, or I'd send a patch.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- No error from unquoted numbers in ReplaceIfNoLinesMatching,
Chip Seraphine <=