I would like to get the 1st data on 1st column (i.e:1.20E-05) and replace the whole second column by minus with this 1st data. Then, i would like to delete the last data line and print to a new file.
I have a data such as below:
body comments Vxx yy zz 0 pwl (
1.20E-05 1
1.21E-05 1.1
1.22E-05 1.2
1.23E-05 1.3
1.24E-05 0 +)
expected output:
body comments Vxx yy zz 0 pwl (
0.00E-05 1
0.01E-05 1.1
0.02E-05 1.2
0.03E-05 1.3 +)
{}
button in the editor), and details/code (also formatted correctly) of what you've already tried, what happened when you tried it, and how that differed from what you expected to happen. – cas May 26 '22 at 10:120.00E-05 1
has anything to do with1.20E-05 1
, mathematically. and your columns/rows description makes no sense, either. – Marcus Müller May 31 '22 at 09:48