Hi there,
I have a fairly simple awk line which I call from my command line:
and this works fine when run from comamnd.
When I embed this exact same code in perl and run it from a web browser, the result "difference" file contains unformatted data (basically it prints the whole line instead of $5 into the text file) ..... am I missing something here?
I have a fairly simple awk line which I call from my command line:
Code:
cat ../directory1/out | grep ^diff | awk '{print $5}' > ../directory1/differece
and this works fine when run from comamnd.
When I embed this exact same code in perl and run it from a web browser, the result "difference" file contains unformatted data (basically it prints the whole line instead of $5 into the text file) ..... am I missing something here?
Code:
`cat ../directory1/out | grep ^diff | awk '{print $5}' > ../directory1/differece`