help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Three-Line service comments


From: Adrian Phillips
Subject: Re: Three-Line service comments
Date: 03 Aug 2001 07:30:46 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

>>>>> "Tim" == Tim Auckland <address@hidden> writes:

    Tim> Please could you give me an example?  I've tried just
    Tim> embedding $(n) in a search string or regexp and it doesn't
    Tim> seem to help.

    Tim> I'm trying to delete the three lines:

    Tim> # # GNATS #

    Tim> This doesn't find any matches: DeleteLinesContaining "#$(n)#
    Tim> GNATS$(n)#"

    Tim> This matches, but only deletes one line out of the three:

    Tim>       DeleteLinesMatching "(#$(n))*# GNATS($(n)#)*"

I tried this myself and couldn't get it to work, so I checked the
source and it seems to be that all of these matching routines match
against each individual line which of course means that multi-line
matches can't work, but its quite likely that I'm missing
something. Mark ?

Sincerely,

Adrian

-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]