[ns] : Example of awk in Wireless2.tcl

Lloyd Wood L.Wood@eim.surrey.ac.uk
Wed, 10 Jan 2001 15:59:18 +0000 (GMT)


On Wed, 10 Jan 2001, adewale kehinde wrote:

> After running it i received a message like;
>   Invalid commmand BEGIN {
>    # simple awk script to generate end-to-end packet


awk is not tcl. Put the awk in a separate file, and call it in the 
tcl script with
exec awk -f...

> Can you pls tell me what to do next?

'stop spamming us' would be high on my list of suggestions.

L.

<L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>