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

First suggestion, make sure that your open worked.

Second is that I believe neither cat nor awk are Perl functions; you have to wrap them in a system call, qx or back quotes (`) for them to be executed. Better would be to translate the awk into Perl (use a2p, if needed) and replace cat, awk, and the shell program with a split, the few lines of Perl to replicate the script's functionality, and printf.


Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

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

Replies are listed 'Best First'.
Re^2: Script to manipulate data is not giving me any output
by ebi (Initiate) on Sep 17, 2009 at 09:34 UTC
    thank you very much I will re do the script now with your suggestions. Still learning sorry if the script I wrote made little sense.