Hi again!
many thanks PHV !!! it worked really well!! it is so beautiful to get what you want with a simple line!
Can you just tell me if I understand well what you did :
- "x[$3]=$0" : you created a dictionary in which you associated the number in column 3 with the full line in which you...
Hi,
I would like to know if it is possible to compare two fields that are in different lines?
I have a file that looks like this:
a b 145 c d
e f 102 g h
i j 247 k l
m n 102 o p
and I would like to get for example here the two lines that contains "102" in $4.
I first sorted out the file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.