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 John Tel 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. chilecayenne

    getline in BEGIN section, can't seem to use variable as filename? Opti

    Hello all, I'm making progress on my first awk script in a LONG time. I'm trying to now make it a bit more versitile...and send in file names as variables on the command line, rather than hard coded in, but I'm having problems. Example...this works BEGIN { FS="|"; OFS="|"; while (getline <...
  2. chilecayenne

    Reading a file into 2x dimensional array; can't read in body

    Hi all, I'm trying my hand at awk again, but just can't seem to get things going. I'm starting this to try to load one file into a 2x dimensional array, and in the body, search it to match on fields of the file I'm processing and append some values for output. This is in the early...

Part and Inventory Search

Back
Top