help-cfengine
[Top][All Lists]
Advanced

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

Re: Process Regexp Problems


From: Kurt Lieber
Subject: Re: Process Regexp Problems
Date: Tue, 13 Apr 2004 19:52:28 -0400
User-agent: Mutt/1.5.5.1i

On Tue, Apr 13, 2004 at 06:33:55PM -0500 or thereabouts, Russell Adams wrote:
> So looking for cron, I might see:
> 
> 28856 ?        S      0:00 /usr/sbin/cron
>  1191 ?        S      0:01 /usr/bin/linux  [/usr/sbin/cron]
> 
> How can I specify to NOT match the one that begins with the linux
> prefix?

Try "\b/usr/sbin/cron\b"

The \b defines word boundaries.  I'm not sure if the forward slashes will
throw a wrench in that, however.

--kurt

Attachment: pgpCIt5GRUsVg.pgp
Description: PGP signature


reply via email to

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