in reply to Script to manipulate data is not giving me any output

That code doesn't actually compile.

Nor doesn't make any sense. Why would you want to pass your entire log file through awk for each line of the file? And since you aren't doing anything interesting in Perl, why not write the entire thing in a shell script?

As for your actual question, you're calling system, but you aren't checking its result. Perhaps an error occurred.

  • Comment on Re: Script to manipulate data is not giving me any output