Skip to main content
added 6 characters in body
Source Link

How can I print lines which have duplicate (x2) values  ?

E.g

01 02 03
01 01 03
01 01 01 03

out of these three lines, only line two is correct.

so now let's say I want to look up for line where the value occurred x3.

in this case line 3 is correct.

How can I print lines which have duplicate values?

E.g

01 02 03
01 01 03
01 01 01 03

out of these three lines, only line two is correct.

so now let's say I want to look up for line where the value occurred x3.

in this case line 3 is correct.

How can I print lines which have duplicate (x2) values  ?

E.g

01 02 03
01 01 03
01 01 01 03

out of these three lines, only line two is correct.

so now let's say I want to look up for line where the value occurred x3.

in this case line 3 is correct.

deleted 325 characters in body
Source Link
Satō Katsura
  • 13.7k
  • 2
  • 34
  • 52

As usual before asking any question, i think twice because of the aggressive response on SO. well running out of options this time. So far been struggling to find the answer because maybe i am not using the right terminology "expression" in the search field.

howHow can do iI print lines whowhich have duplicate values?

for eE.g

01 02 03
01 01 03
01 01 01 03

out of these three lines, only line two is correct.

so now let's say iI want to look up for line where the value occurred x3.

in this case line 3 is correct.

i would be grateful if any body could guide me please?

As usual before asking any question, i think twice because of the aggressive response on SO. well running out of options this time. So far been struggling to find the answer because maybe i am not using the right terminology "expression" in the search field.

how can do i print lines who have duplicate values

for e.g

01 02 03
01 01 03
01 01 01 03

out of these three lines, only line two is correct.

so now let's say i want to look up for line where the value occurred x3.

in this case line 3 is correct.

i would be grateful if any body could guide me please?

How can I print lines which have duplicate values?

E.g

01 02 03
01 01 03
01 01 01 03

out of these three lines, only line two is correct.

so now let's say I want to look up for line where the value occurred x3.

in this case line 3 is correct.

Source Link

find duplicate values in each line

As usual before asking any question, i think twice because of the aggressive response on SO. well running out of options this time. So far been struggling to find the answer because maybe i am not using the right terminology "expression" in the search field.

how can do i print lines who have duplicate values

for e.g

01 02 03
01 01 03
01 01 01 03

out of these three lines, only line two is correct.

so now let's say i want to look up for line where the value occurred x3.

in this case line 3 is correct.

i would be grateful if any body could guide me please?