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.
|