Hi,
I have a awk program which changes the value of a shell variable and I don't know how to get this values in the shell.
I know how to do this whitn a file but I 'd prefer whith a variable(cleaner).
Exemple:
"
varshell='OK'
awk NR==1
'{
if NF==2...
varshell='NOK...
.
.
} file
.
.
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.