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 dencom 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: *

  • Users: chino10
  • Content: Threads
  • Order by date
  1. chino10

    Check number of lines in a file

    I have a file that will have zero or more lines of data. What I need to do first is check the file to see if it has zero or 1 line of data. If it does I need to copy it to a specific directory as is, otherwise I need to run a function (which I already have) against it before sending it to the...
  2. chino10

    Sum multiple columns output to single row to in separate file.

    I am hoping someone can help me find a way to sum two columns but output the answer into a separate file using the first row of the original file as such: 0000229351,4,5.00,533017068270,31.96,UPAC 0000229351,4,3.00,533017068280,27.08,UPAC 0000229351,4,5.00,533017068291,31.96,UPAC...
  3. chino10

    Delete similar records under specific conditions using gawk

    I am completely new to shell scripting but have been assigned the task of creating several batch files to manipulate data in a windows environment. My final task requires me to find rows in a .csv document where the last column is “Y” then delete not only the duplicate(s) but the original as...

Part and Inventory Search

Back
Top