help-cfengine
[Top][All Lists]
Advanced

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

Re: Interpretation of shellcommand classes


From: Geir Hauge
Subject: Re: Interpretation of shellcommand classes
Date: Mon, 26 Jul 2004 17:10:33 +0200
User-agent: Mutt/1.4.2i

On Mon, Jul 26, 2004 at 04:40:54PM +0200, Jan Y. Brueckner wrote:
> ~  NPTL = ( '/usr/bin/test "`/bin/uname -r | /usr/bin/awk -F. \'{ print
> $2 }\'`" -ge "6" ' )

How about removing those extra quotes around the "6" and the
"version-number-thingy" so you won't have to escape?

NTPL = ( "/usr/bin/test `/bin/uname -r | /usr/bin/awk -F. '{ print $2 }'` -ge 
6" )

Does that work?

-- 
Geir Hauge




reply via email to

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