Search Results

Search: Posts Made By: Abhiraj Singh
4,479
Posted By Akshay Hegde
Correct your code, your double quote is...
Correct your code, your double quote is mismatched also..
To compare files
nawk 'NR==FNR{a[$0];next;} !($0 in a){print "line:" FNR $0}' file1 file2

for duplicate try this
nawk...
2,377
Posted By Akshay Hegde
!a[$0] or !a[$0] or !a[$0] --> if you use these...
!a[$0] or !a[$0] or !a[$0] --> if you use these result will be unexpected, and uses more memory as well, Hope you are reading answers yesterday I answered you on the same here

Nawk Problem - nawk...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy