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 Mike Lewis 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. tmd1332

    grep issue in ksh script

    LKBrwnDBA (MIS) Thanks for the tip,, However, there's going to be multiple entries in both Files. I need the single recored(s) one by one as they're found in the file so I can alert on them.
  2. tmd1332

    grep issue in ksh script

    Ya,,, I've tried grep, egrep, fgrep,, Everything returns a RC:1 It defies logic. It should be so simple. Something funky here.
  3. tmd1332

    grep issue in ksh script

    PHV thanks so much for the tip. However, I tried your exact code and still returns no output We're an AIX Unix system. This is what I get $ cat test1 #!/usr/bin/ksh while read record; do grep "$record" File1 && echo "Found it." done < File2 $ test1 $ Returns nothing ???
  4. tmd1332

    grep issue in ksh script

    Hi Guys. Hoping you can help me. I've been scripting forever, but this one has me stumped. File1 Contents: Job: ZDUMM2 StDate: 20131114 StTime: 045241 Server: vq2ua740_ECQ_00 Status: Failed Job: ZDUMM1 StDate: 20131114 StTime: 045241 Server: vq2ua740_ECQ_00 Status: Failed File2 Contents: Job...

Part and Inventory Search

Back
Top