Here's a problem I need help with. I am parsing some arguments
through an awk program, some of these arguments need to be processed
in a shell program but I do not know how to export the arguments
from the awk program to the shell program.
One method that is working is the following, write the argument
to a datafile from awk, then
xargs shell_program <datafile_from_awkprogram
However, I would like to be able to do the following,
xargs awk_program | shell_program
So far, I have been unsuccessful.
The basic problem is that of reading std input through a pipe
or a datafile rather than the command line. Also raises question
about how to redirect a shell instead reading without using sub-shells.
Thanks for your help.
P.S. please post directly to me.