[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cfagent -f -
From: |
Nate Campi |
Subject: |
Re: cfagent -f - |
Date: |
Tue, 11 Nov 2003 15:18:39 -0800 |
User-agent: |
Mutt/1.3.28i |
On Tue, Nov 11, 2003 at 12:51:35PM -0600, Chip Seraphine wrote:
>
> Not the most platform-independent thing in the world, but you might be
> able to fool it with something like this:
>
> m4 my_cfengine_stuff.m4 | cfagent -f /dev/stdin
Stevens covered the /dev/fd/* files back in the mid 90's, I think most
UNIX-like OS's have it.
$ m4 my_cfengine_stuff.m4 | cfagent -f /dev/fd/0
Same thing as Chip's, maybe more portable.
--
Nate
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former" -- Albert Einstein.