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

    search a string in a file

    thx a stack Feherke, This works! export JOB_STREAM="SCC_DAILY_UPDATE" export SERVICE_NAME="" SERVICE_NAME=$(awk '$1==x {print $2}' x="${JOB_STREAM}" service_stream_mapping.dat) echo $SERVICE_NAME I'm a PL/SQL programmer and dislike doing anything in unix shell (may have to change due to...
  2. alortimor

    search a string in a file

    I have a file, service_stream_mapping.dat, made of two columns, which looks something like this: PROCESS_A DAILY_UPDATE PROCESS_B DAILY_UPDATE PROCESS_C WEEKLY_UPDATE PROCESS_D MONTHLY_UPDATE PROCESS_E WEEKLY_UPDATE I would like to search the file using awk with a string that occurs somewhere...

Part and Inventory Search

Back
Top