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 strongm 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. psyjung

    Problem passing shell variable to awk

    Hi feherke. I've got it working now too, and figured out the problem. Instead of using "name" as the awk variable (as in the example I posted), I had been using "sub" (as shorthand for "research subjects"). I didn't realize that "sub" is an awk function, which is what caused my problem. Would...
  2. psyjung

    Problem passing shell variable to awk

    I am in the bash shell and have a file "data.txt" that includes names and data-points in rows, like this: bill/bill_data/point1 bill/bill_data/point2 bill/bill_data/point3 frank/frank_data/point1 frank/frank_data/point2 frank/frank_data/point3 etc. I want to write the data corresponding to...

Part and Inventory Search

Back
Top