help-cfengine
[Top][All Lists]
Advanced

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

Re: Howto escape a $ in regex?


From: Predrag Zecevic - Support Engineer
Subject: Re: Howto escape a $ in regex?
Date: Fri, 17 Jan 2003 08:28:10 +0100
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3a) Gecko/20021211

Thomas Glanzmann wrote:

cfengine:faui0cons: Regular expression error 22 for .*/usr/lib/sendmail \$MODE 
-q\$QUEUEOPTION$QUEUEINTERVAL \$OPTIONS.*

I tried the following:

in editfiles:


{ /etc/rc2.d/S88sendmail
        SetCommentStart '#'
        CommentLinesMatching '/usr/lib/sendmail \$MODE 
-q\$QUEUEOPTION$QUEUEINTERVAL \$OPTIONS'
}

Greetings,
        Thomas
What about using ${dollar} var?
Regrads ;-)

--
Predrag Zecevic | e-Mail: address@hidden
2e Systems GmbH |              Tel: (+49)[0]6192 978 475
65830 Kriftel   |              Fax: (+49)[0]6192 978 525
Germany         |         Cellular: (+49)[0]174 3109 288






reply via email to

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