Last edit
Summary: Line breaks are best placed at whitespace points
Changed:
< == _Line breaks cannot be placed at arbitary locations_
< The [[awk]] syntax is [[line orientated]], rather than freeform. This means that [[newline]] characters cannot be used to create a line break at arbitary locations. In traditional awk implementations a [[newline]] character can be inserted at the end of a [[command]] or following squiggly [[brace]]s:
< === _The backslash symbol can be used as a line continuation marker_
< Within an [[awk]] script, a [[backslash]] symbol can be used as a line [[continuation]] marker.
to
> == _Line breaks are best placed at whitespace points_
> The [[awk]] extraction and reporting language is [[line orientated]]. This means that [[newline]] characters cannot be used to create a line break at arbitary locations. In traditional awk implementations a [[newline]] character can be inserted at the end of a [[command]] or following squiggly [[braces]], where whitespace would typically be placed:
> {{{
> # It is best to split a line at whitespace points
> /foobar/ \
> { print $1 }
> }}}
The awk extraction and reporting language is line orientated. This means that [[newline?]] characters cannot be used to create a line break at arbitary locations. In traditional awk implementations a [[newline?]] character can be inserted at the end of a [[command?]] or following squiggly [[braces?]], where whitespace would typically be placed:
# It is best to split a line at whitespace points /foobar/ \ { print $1 }