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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by baer

  1. baer

    print range of colums.

    I have a simple question. I have a file with 160 columns. If I only wish to print the first 120 column, how do I specify a range? I know I could use '{ print $1, $2, ... etc}, but this would get bulky. Also, if I had a small range I did not want to print, is there an elegant way to do this...
  2. baer

    extracting data by row number

    Hello, I am looking to extract data from a program output that repeats tables several times. I am interested in the final set of data. I have unsuccessfully been able to think of a clever way to cut my dataset to only include the final portion of the report. Conceptually, I want to find the...
  3. baer

    multilple line record, join

    Thank you very much. This is very close to what I need. However; my data set has several inflow points. (For example, picture the dataset from above repeated.) When this script reaches another INFLOW entry, the last RIVER MILE entry is not extracted. I have looked over the script, and I...
  4. baer

    multilple line record, join

    Hello, I am attempting to extract sediment data for a hydrology model and I am running into difficulties. The following is a sample of the data. INFLOW CLAY :17.8666 : SILT :3.77577 :3.42650 :23.8600 :18.5159 : SAND :4.33102 :2.46574 :22.4748 :21.7308 : RIVER...

Part and Inventory Search

Back
Top