I want to run the system command in an awk script and get its output stored in a variable. I\'ve been trying to do this, but the command\'s output always goes t
system
Figured out.
We use awk's Two-way I/O
{ "strip $1" |& getline $1 }
passes $1 to strip and the getline takes output from strip back to $1