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

    first post, matching, backing up, and matching forward again.

    It works flawlessly. I can't thank you enough for your help.
  2. s0ylgr3n

    first post, matching, backing up, and matching forward again.

    Thanks for help. I should have included the desired output. I have worked on trying to understand my awk script better. Your examples have helped tremendously. I'm hoping you can help me understand how to print the time stamp data only once per every unique match. But your help this far has...
  3. s0ylgr3n

    first post, matching, backing up, and matching forward again.

    Thanks for reply. I tested the date/time stamp match and it works on the console. awk '/^(... ... .. ..:..:.. ....[\x0D/])/' /path/to/input I tested the /test_data/,/end_of_text_block_char/ /path/to/input, and it works on the console. awk '/test_data/,/end_of_text_block_char/' /path/to/input...
  4. s0ylgr3n

    first post, matching, backing up, and matching forward again.

    I have a file of test data where I need to match on a pattern and then back up x number of lines (it varies) to match on the date/time stamp and then I need to continue to go forward in the text block until I match on the first blank line or in this case a hex pattern of 0D 0A 0D 0A 0D 0A 0D 0A...

Part and Inventory Search

Back
Top