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. Coop197823

    awk code error for removing duplicate records between 2 files

    Yep that worked, Thank you!!
  2. Coop197823

    awk code error for removing duplicate records between 2 files

    I found this bit of awk code that compares the first column of two files and then deletes the duplicate records of the second file. awk 'FNR==NR{a[$1];next};!($1 in a)' file1 file2 > file3 When I run the code, I get an error that says: ^ invalid char ''' in expression I am very new to awk...

Part and Inventory Search

Back
Top