Is it possible to remove only the AWD015F11
duplicate using Awk? I have a large file with one column. This happens every 24 rows.
I have tried counting the rows in search for a pattern that I could use. As you can see there are other duplicate rows but the problem is only with AWD015F11
.
5000
5000
false
false
AWD015F11
425
25
34
1
5000
5000
320
320
OH,AWD015F
false
true
8
50
32
0
5
9
9
true
-34
0
false
false
AWD015F11
AWD015G21
AWD015F11
? Is it whatever is on the 24th column? How can the script know not to remove the duplicates you actually want? What isAWD#######
? Is that supposed to representAWD
followed by any 7 characters? DoesOH,AWD015F
count? I don't see any cases ofAWD
and 7 characters. Please edit your question and clarify what you need. Show us a sample that reproduces the issue and show us the output you would like to see.