[Cook] Escaping shell characters
John Darrington
john at cellform.com.au
Mon Jan 30 14:21:55 EST 2006
How can I pass quoted expressions in a rule? Cook insists on pinching
the ' characters so that the expression gets passed to the shell
unquoted, and therefore completely screws up. Such as:
%0%.aux.d: %0%.aux
{
sed -n -e 's/\\xyzzy{\(.*\)}/gp' %0%.aux > [target] ;
}
This problem, so far as I can tell means that only very trivial sed
examples can be used in cook.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.auug.org.au/pipermail/cook-users/attachments/20060130/55c83e63/attachment.pgp>
More information about the Cook-users
mailing list