awk print help

In this:

$ awk '{ print "var is", var }' var=TEST file1 

What does the print part do?

{ print "var is", var }

It prints var is TEST ?

Thats what I would think also. In my terminal it just hangs like I forgot something or it wants another quotation mark.

Hi,

It will print "var is TEST".
if ur input file have three lines then it will print three times..

Cheers,
Ranga:)

Yep :). Please explain why ;).