Search Results

Search: Posts Made By: srinivasrao
3,500
Posted By Chubler_XL
There will be a difference between the two lines....
There will be a difference between the two lines. Possible different case or white space characters (tabs vrs spaces, etc.).
3,500
Posted By Chubler_XL
This prints any lines in file1.txt that don't...
This prints any lines in file1.txt that don't appear in file2.txt:

awk ' NR==FNR { a[$0]; next } !($0 in a)' file2.txt file1.txt
Showing results 1 to 2 of 2

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