in reply to Changing the order of printing

.(In the same file instead of two different files.)

Why not just append the OUT file to the LOG file once the program is finished?

It'll take 1 or 2 seconds to do and requires no changes to the script.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Changing the order of printing
by Anonymous Monk on Jun 15, 2011 at 13:27 UTC
    Hi, Well, I am in the process of automating the things(using cron) and send the resulting file by email to certain people. So, I can't manually handle them. thanks
      So, I can't manually handle them.

      So, add

      system qq[ cat $outputdir/$date_seq_comparison_summary.csv >> $outputdir/$date_seq_comparison_log.log ]; system qq[ rm $outputdir/$date_seq_comparison_summary.csv ];

      or the equivalent formulation for your OS, to the end of the script, or to the command file you submit to cron.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.