Explanation of print statement - awk

view story

http://www.unix.com – Hi, i'm just after a simple explanation of how the following awk oneliner works. Code: gawk -F"," '{for(i=m;i<=n;i++)printf "%s" OFS,$i; print x}' m=1 n=70 OFS=, input.csv > output.csv In particular i'm trying to understand how the two print statements work? How is the "x" variable being assigned a value? Is the "x" variable being assigned the value of the first printf statement? Thanks in advance, TheFlamingMoe (HowTos)