Search Results

Search: Posts Made By: niki0211
3,118
Posted By niki0211
Remove duplicates from comma separated list
Hi,


I have following input file:


niki niki
niki1 niki
niki2 niki,niki2
niki3 niki,niki3,niki
niki4 niki4,blabla
niki5 jkjkl
niki6 niki60,niki6


I would like...
1,429
Posted By niki0211
Wow, thank you, that's perfect!...and actually so...
Wow, thank you, that's perfect!...and actually so simple :-D
1,429
Posted By niki0211
I tried: awk -F $'\t' '$1=/.*$2.*/ {print $0}'...
I tried:
awk -F $'\t' '$1=/.*$2.*/ {print $0}' unique_matches.txt
but this does not result in anything...

and then I tried
awk -F $'\t' '$2=$1,/.*/ {print $0}' unique_matches.txt

but the...
1,429
Posted By niki0211
How to remove a value from first column in the second column?
HI,

I have a file like this:
5_2207830114 5_2207830114,13_2207830312,15_2207830336
8_2207830145 8_2207830145,15_2207830336...
Showing results 1 to 4 of 4

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