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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.