Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. gixmono

    Exponential to Decimal

    Thank You very much for your help. I can use perl to do the job.
  2. gixmono

    Exponential to Decimal

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

    ASCII File Data Validation

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

    ASCII File Data Validation

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

    ASCII File Data Validation

    Thanks PVH but it doesn't work. I've tried: egrep '[A-Za-z][0-9] *[0-9]\{6\}\.[0-9]\{2\} *[0-9]\{7\}\.[0-9]\{2\} *[0-9]\{4\}\.[0-9]\{4\} *[0-9]\{4\}\.[0-9]\{4\}' file egrep '[A-Za-z].[0-9]. *[0-9]\{6\}\.[0-9]\{2\} *[0-9]\{7\}\.[0-9]\{2\} *[0-9]\{4\}\.[0-9]\{4\} *[0-9]\{4\}\.[0-9]\{4\}' file...
  6. gixmono

    ASCII File Data Validation

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

Part and Inventory Search

Back
Top