Run AWK script on contents of a variable
I have an AWK script (tiny, nothing special, passed on command line) that I want to run with the contents of a variable instead of the contents of a file. How can I do this? It seems like it should be really simple, but I've been trying for hours!
Thanks!
|