help-cfengine
[Top][All Lists]
Advanced

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

Howto escape a $ in regex?


From: Thomas Glanzmann
Subject: Howto escape a $ in regex?
Date: Thu, 16 Jan 2003 20:04:26 +0100
User-agent: Mutt/1.4i

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




reply via email to

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