perl one liner
This was a good one liner. I had three C header files with 4096 entries each of dummy data and it all needed to be plotted on a log scale.
perl -ne "$val= $_; $val= log($val)/log(10); $val*=10; print $val; print \"f,\n \"; " simMag.txt > simMagXResults.txt
Labels: perl
0 Comments:
Post a Comment
<< Home