What happens when using $1 , $2 ... in an END block, for example:
awk '{print $3}END{print $1 $2}'
I found that $1 and $2 store the values ββfrom the last record. Is this behavior a guaranteed standard or is it implementation specific?
variables bash awk gawk
Mosty amine
source share