END { statements }
End is one of the special patterns. The actions associated with the end pattern get executed after the last line of the input file is read. For more information, “
CXL Patterns”
Example
end { if( last_tag != "EOF" ) accept array[ctr + 1];
# Print last record
Last modified date: 10/22/2024