Hi Gurus
Mi Name is Raul and I've this little problem with awk.
I'm trying change the data format within an ascii file
from this (floating,exponential or scientific):
#
#
#
0.57210E+06 0.21808E+07 0.10000E+31
0.57210E+06 0.21807E+07 0.10000E+31
0.57210E+06...
Thank you very much guys, I finally got it:
Here it is:
grep '^ *Function[0-9]\{1,\} *[0-9]\{6\}\.[0-9]\{2\} *[0-9]\{7\}\.[0-9]\{2\} *[0-9]\{1,4\}\.[0-9]\{4\} *[0-9]\{4\}\.[0-9]\{4\} *$' file
Now my challenge is finding a way to validate that the fields 4 and 5 are always increasing.
I really...
As I need to load this data into a DataBase I need to be sure that every field of every record has a valid value.
For Example:
This would be ok:
Function160 599644.00 2160206.00 7759.0000 4897.0000
Function160 599644.00 2160206.00 7843.0000 4915.0000
But not this...
Good morning gurus
Mi name is Raul and I'm trying to write a simple script to validate the data
within a huge ascii file.
The data within the file looks like this:
Function160 599644.00 2160206.00 7759.0000 4897.0000
Function160 599644.00 2160206.00 7843.0000...
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.