Don't know if I'm being stupid but.....
gawk "{ print $5 $7 }" C:\poclog.parsed.txt (all on one line at command line) does what I want
but run from a batch file it appears to hang. Output shows: gawk "{ print $5 $7 }" and err nothing else.
XP sp2.
Any ideas?
And bizarrely if you go for a
type pcolog.parsed.txt | gawk "{ print $5 $7 }"
in a batch file, it loves it. I assume it's a direction or path type issuette.
Don't know if I'm being stupid but.....
gawk "{ print $5 $7 }"
C:\poclog.parsed.txt
(all on one line at command line)
does what I want
but run from a batch file it appears to hang. Output shows:
gawk "{ print $5 $7 }" and err nothing else.
XP sp2.
Any ideas?
And bizarrely if you go for a
type pcolog.parsed.txt | gawk "{ print $5 $7 }"
in a batch file, it loves it. I assume it's a direction or path type issuette.