Search Results

Search: Posts Made By: NarayanaPrakash
1,840
Posted By NarayanaPrakash
rbatte1...
rbatte1 (https://www.unix.com/members/302025710.html) https://www.unix.com/images/statusicon/user_online.gif
Registered User

thank you rbatte1.

i did some modification and now the script is...
1,509
Posted By NarayanaPrakash
awk 'NR==FNR{A[$9];next}!($9 in A)' test.txt...
awk 'NR==FNR{A[$9];next}!($9 in A)' test.txt test2.txt --> change column name

above one will compare 9th column of two files and display the difference
Showing results 1 to 2 of 2

 

Featured Tech Videos

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