I am new to AWK....I have these lines of codes, tried to run and received error but didn't understand the error msg.
awk '
var1 = length($3)
if (var1 = 6)
nawk -F, '{OFS=","; print $1,$2,"00"$3" ",$8}' /tmp/payfile > /tmp/paywork1
if (var1 = 5)
nawk -F, '{OFS=","; print...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.