help-cfengine
[Top][All Lists]
Advanced

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

Re: How exec works


From: Mark . Burgess
Subject: Re: How exec works
Date: Mon, 18 Dec 2000 21:47:24 +0100 (MET)

On 18 Dec, Olivier Hertrich wrote:
> I want create a liste with :
> 
>    control:
>         list = ( "exec /bin/awk -F: '{if ($4 > 100) {print _ $6}}'
> /etc/passwd"  )
> 
>    If I try to see the list in a shellcommand like :
> 
>         any::
>             echo $(list)
> 
> I see the string  exec /bin/awk -F: '{if ($4 > 100) {print _ $6}}'
> /etc/passwd and not the result of the command.
> Where I'm wrong?
> 
> Thank You.
> 
> Olivier Hertrich

-- 

THe command could not be executed for some reaso. Try -v or -d2
to debug

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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