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 gkittelson 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. ericpatton

    Append columns from one file to the end of another

    I have two files; I want to append the two columns of data that exist in file2 at the end of file1. So, if file 1 has 10 fields of data, the columns 1 and 2 from file2 would now become fields 11 and 12 in file1. All fields from file1 remain unchanged. Thanks!
  2. ericpatton

    Extract all lines between two user-defined values, inclusive

    I was just completely stuck - but I think this will work perfectly, thank you!
  3. ericpatton

    Extract all lines between two user-defined values, inclusive

    My problem is I'm not sure how to extract all records between and including these two values. ~ Eric.
  4. ericpatton

    Extract all lines between two user-defined values, inclusive

    I have a text file consisting of 3 columns: time, latitude, and longitude. My bash script prompts the user for a beginning time and an end time, and I want to use awk to extract all values bewteen these two, including the user-defined values, to a new text file. Each subsequent start-end pair...
  5. ericpatton

    How to compare fields in different records?

    Thanks for the fast reply! I'm unfamiliar with this variable prev; I can't find anything on this variable in my awk text. Does it always correspond to the current field in the previous record? Thanks again, ~ Eric.
  6. ericpatton

    How to compare fields in different records?

    Hi, I have a text file with three columns of data: time, latitude, and longitude. I want to check that all the values in the time column increment up only (i.e., 1300, 1301, etc) and report if there are any times out of order in the file. To do this, I thought that I needed to be able to compare...

Part and Inventory Search

Back
Top