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

    How to store file header information into variable using awk command?

    Thanks PHV! I tried to execute the script and it only prints the following info not the complete header string: 2/16/0515.03.30TIO01676 I need to store the complete string: 2/16/0515.03.30TIO01676 CMS.TST.IWUNV676.IO01
  2. rchowd2

    How to store file header information into variable using awk command?

    I have been trying to retrieve only the file header information from the file using AWK command and store the header string into the variable and then use the variable to append to the log file. Any advise on how can I store the file header information which starts with the string "HEADER" and...
  3. rchowd2

    How to compare date header using awk/sed command and update log file?

    Thanks XMB! But I do have one more question for you. If file 2 doesn't exist, how can I just simply update the log file without going through any date comparison. Example: file1 header: HEADER 2/16/0515.03.30TIO01676 CMS.TST.IWUNV676.IO01 $ We just want to update...
  4. rchowd2

    How to compare date header using awk/sed command and update log file?

    Thank you so much "XMB"! I really appreciate your help.
  5. rchowd2

    How to compare date header using awk/sed command and update log file?

    I am trying to compare two similar files which contains differnt header date information. If header dates are different from each other I would like to update the header information to the log file. Any advise how how can I go by and update the log file. file1 header: HEADER...
  6. rchowd2

    How do I remove underscore '_' from a file header -SED/AWK commands?

    I am trying to compare two similar files which contains differnt header date information. If header dates are different from each other I would like to update the header information to the log file. Any advise how how can I go by and update the log file. file1 header: HEADER...
  7. rchowd2

    How do I retreive date info from the data file header

    I have a data file which contains the following header record in one ine: -------------------------------------- HEADER 2/16/0515.03.30TIO01676CMS.TST.IWUNV676.IO01 416360 --------------------------- I am having...
  8. rchowd2

    How do I remove underscore '_' from a file header -SED/AWK commands?

    I have a file which contains the following line of header info: _______ _______ _______ _______ _______ _______ ______ _____________ _______ ____________ ________________^MFund Cd Orgn Cd Acct Cd Prog Cd Actv Cd Locn Cd Fld Cd Field Cd Desc Grnt Yr Trans...

Part and Inventory Search

Back
Top