[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Interpretation of shellcommand classes
From: |
Jan Y. Brueckner |
Subject: |
Interpretation of shellcommand classes |
Date: |
Mon, 26 Jul 2004 16:40:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
im confused about this result:
cfengine::/usr/bin/test "`/bin/uname -r | /usr/bin/awk -F. '{ print $2
}'`" -ge "6" : /usr/bin/test: argument expected
which looks in the source like this:
~ .
~ .
~ .
groups:
~ NPTL = ( '/usr/bin/test "`/bin/uname -r | /usr/bin/awk -F. \'{ print
$2 }\'`" -ge "6" ' )
~ .
~ .
~ .
However, the line thas cfengine says it does execute namely
/usr/bin/test "`/bin/uname -r | /usr/bin/awk -F. '{ print $2 }'`" -ge "6"
works when executed in the shell. Is there something to learn about how
cfengine handles this and what may cause this behaviour?
Thanks in advance,
Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQFBBRfzAkBRz9mJJTERAj1QAJ97T6NAS9a41Xdng2MYgKLxVRZo/wCfSTFn
lakkdKJqZKbu1jEDAyXXvLY=
=Y6Jv
-----END PGP SIGNATURE-----
- Interpretation of shellcommand classes,
Jan Y. Brueckner <=