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: *

  • Users: REGYS
  • Order by date
  1. REGYS

    printing first occurence of a input line

    Hi guys, I'm trying to print the first occurence of an input line in a log file using an if statement and an index function. Check it out. if (index($0,"MS Position Req(msgLen=23)")>0 ){ my_string = $0; split(my_string,time,":"); substr($1,2,7); split($1,t,":")...

Part and Inventory Search

Back
Top