Print this page
3762 nawk 'continue illegal outside of loops'
*** 240,258 ****
FNR == 1 {
pass++;
}
/^#/ || /^$/ {
! continue;
}
{
# For each input line, nawk automatically assigns the complete
# line to $0 and also splits the line at field separators and
# assigns each field to a variable $1..$n. Assignment to $0
# re-splits the line into the field variables. Conversely,
! # assgnment to a variable $1..$n will cause $0 to be recomputed
# from the field variable values.
#
# This code adds awareness of escaped field separators by using
# a custom function to split the line into a temporary array.
# It assigns the empty string to $0 to clear any excess field
--- 240,258 ----
FNR == 1 {
pass++;
}
/^#/ || /^$/ {
! next;
}
{
# For each input line, nawk automatically assigns the complete
# line to $0 and also splits the line at field separators and
# assigns each field to a variable $1..$n. Assignment to $0
# re-splits the line into the field variables. Conversely,
! # assignment to a variable $1..$n will cause $0 to be recomputed
# from the field variable values.
#
# This code adds awareness of escaped field separators by using
# a custom function to split the line into a temporary array.
# It assigns the empty string to $0 to clear any excess field