anyone experienced in the use of AWk? If so, I'll post the full question![]()
anyone experienced in the use of AWk? If so, I'll post the full question![]()
nevermind, worked it out
Im Geeenus!
Hmm it appears I underestimated my opponent :/
Anyone know if there is a way of using the system() command properly in the print section of an awk script?
e.g
the input file's first line is "HELLO, THERE, FATTY, SOMETHING, ELSE"
Im expecting...
print $1, $2, $3, $4, system("echo TEST")
to return
HELLO THERE FATTY SOMETHING TEST
but I get...
TEST
HELLO THERE FATTY SOMETHING 0
when using system from the BEGIN section it works fine, but in the process part its screwed :/ any ideas?
There are currently 1 users browsing this thread. (0 members and 1 guests)