[Cook] strange behaviour with include-cooked

Aryeh M. Friedman aryeh at m-net.arbornet.org
Sun Jul 6 17:35:31 EST 2003


	A while ago someone (Jerry?) mentioned I think that include-cooked is done
*after* any immediate statements that proceed if that is the case why do I get the below
output from the following cookbook:

Cookbook:

echo "'ack=bar;'">bar;

#include-cooked bar

all:
{
	echo [ack];
}

Output:

~% cook -silent -b foo
cook: foo: 4: warning: include cooked "bar": file not found
cook: bar: don't know how

~% cook -silent -b foo
bar

	--Aryeh



More information about the Cook-users mailing list