Search Results

Search: Posts Made By: mmab
6,367
Posted By mmab
Wasn't complaining, just new to this and trying...
Wasn't complaining, just new to this and trying different things.
Appreciate your help
6,367
Posted By mmab
Thanks for the quick reply. When I run...
Thanks for the quick reply.

When I run this on a txt file with no duplicates it works great. But when I run it on a file with duplicates I get the following output;


awk 'BEGIN { FS =...
6,367
Posted By mmab
awk If expression - Return string if not true
Hi,

I have the following txt file List_With_Duplicates.txt;

a,1,1
b,3,4
c,5,2
d,6,1
e,3,3
f,3,7

When I run the command
awk -F ',' '{if($2==$3){print $1","$2","$3}}'...
Showing results 1 to 3 of 3

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