Hi,
I call an awk program passing a param from command-line.
I want to see if a line from my input filename suits to the passing variable.
I can't use
$0 ~ /varname/ {...}
because awk understands varname as a string.
Any ideas?
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.