with awk, why does this not work? even using printf with variable properly formatting gives me a null value for the variable.
awk ' BEGIN {{ input = ARGV[1] } { print input }} '
no output
awk ' BEGIN {{ input = ARGV[1] } { printf("\n%d\n", input) } } '
output 0 regardless of base 10 input used.