On Thu, 5 May 2005, Brendan Strejcek wrote:
Russell Van Tassell wrote:
What about something like...
classes:
is_pipe = (
ReturnsZero(/bin/sh -c '
/bin/test -p /path/to/pipe
')
)
Yeah, that is better. And I was only using /bin/sh -c '' for the shell
output redirection. So one could also just do:
classes:
is_pipe = ( ReturnsZero(/bin/test -p /path/to/pipe) )
Thanks guys. I'll give that a shot.
Brian Seppanen
[EMAIL PROTECTED]
608.826.1464
_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine