Thanks PHV. I had tried the rm before, but it hadn't worked. That's apparently because I hadn't fully followed macd68's suggestion for naming TEMPDATA. I left out the path, figuring it would just put it in the current directory, but it didn't. Now that I've added the path, the rm seems to...
Thanks for your reply macd68. I tried putting some of that into my code, but still run into the same problem of values being appended. I think I left out some explanation. Each of my 4 values will be increasing by different amounts. Also, after one has gone through it's values, I need to...
I have a fortran program that uses data from file.dat. I'm trying to write an awk script that will update values in file.dat and then run then the fortran program, loop style.
Say file.dat is
1.0 2.0
3.0 4.0
5.0 6.0
7 8
9 10
I need the script to run the fortran program with these value, then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.