[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfengine-help
Subject:    Re: Using nawk with cfengine
From:       "Luke A. Kanies" <luke () madstop ! com>
Date:       2004-06-23 16:31:40
Message-ID: Pine.GSO.4.60.0406231122180.12919 () kirby ! madstop ! com
[Download RAW message or body]

On Thu, 17 Jun 2004, DRANSUTAVICIUS, CLAUDIO wrote:
> 
> control:
>    FindDomain = ( ExecResult(/usr/bin/nawk '/domain/ { print toupper
> ($2) }' /etc/resolv.conf) )

(Sorry for the late response; I've been out of town.)

As has been discovered, there is a bug in how cfengine parses strings.  I 
have a patch that I think fixes it, but I have only been able to test it 
on my configs and so have not submitted it back to Mark.  Hmm, I seem to 
have lost the actual patch, though.

I'll recreate the patch this week and send it to the list.

-- 
Yesterday upon the stair
I met a man who wasn't there.
He wasn't there again today --
I think he's from the CIA.
---------------------------------------------------------------------
Luke Kanies | http://abstractive.org | http://reductiveconsulting.com


_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic