-   Programming (
-   -   shell script for changig txt-file content (

Flobsi 10-05-2006 05:59 PM

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.
ls *.2.txt | gawk'{print$1*2.1455E-07}'>

then added the header in the output file with:

and run the , but didnt work.

unSpawn 10-05-2006 06:46 PM

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

All times are GMT -5. The time now is 12:19 PM.