print [ LIST ]

The [[variadic?]] print function is used to produce simple standardized output. A [[comma?]] separated [[list?]] of items for output is provided in the [[argument?]] list.


print "Hello"

Default value

If the print function is given no [[argument?]] list, then it will by default output the current record:

 # These two commands are equivalent
 print $0

Default action

Note that the default action within a rule is to print all [[line?]]s that match the pattern. This means that an action to just print a matching line can be omitted altogether.