shell script for changig txt-file content
I am new to Linux and try to figure out the best way to change the content of a txt file writing a shell script.
the txt file consists of one row with different numbers. I want each of that numbers multiplied by 2.1455e-07. Tried ls *.2.txt | gawk'{print$1*2.1455E-07}'>v.sh then added the header in the output v.sh file with: #!/bin/sh and run the v.sh , but didnt work. |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of http://www.linuxquestions.org/questi...d.php?t=489784.
|
All times are GMT -5. The time now is 05:59 AM. |