Remove Partial Duplicates in Shell Scripting [closed]
Clash Royale CLAN TAG#URR8PPP
831177 830372
831177 830373
831178 831177
831178 831177 830373 830372
831958 827391
832226 824442
834434 833887
I've first line combination in 4th line and 2nd line also in 4th line
I want the output as below:
831178 831177 830373 830372
831958 827391
832226 824442
834434 833887
shell awk sed
closed as unclear what you're asking by Kusalananda, Jeff Schaller, Thomas, roaima, agc Jan 20 at 18:16
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
831177 830372
831177 830373
831178 831177
831178 831177 830373 830372
831958 827391
832226 824442
834434 833887
I've first line combination in 4th line and 2nd line also in 4th line
I want the output as below:
831178 831177 830373 830372
831958 827391
832226 824442
834434 833887
shell awk sed
closed as unclear what you're asking by Kusalananda, Jeff Schaller, Thomas, roaima, agc Jan 20 at 18:16
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
Instead of printing lines 4, 5, 6 and 7, would it also be correct to output lines 2, 3, 5, 6 and 7? If not, what is the condition to make the distinction between the two outputs?
– Hkoof
Jan 10 at 14:32
1
You'll have to be much more specific: what precisely is a "partial duplicate"?
– glenn jackman
Jan 11 at 0:08
This question is not clear.
– Emilio Galarraga
Jan 12 at 13:40
add a comment |
831177 830372
831177 830373
831178 831177
831178 831177 830373 830372
831958 827391
832226 824442
834434 833887
I've first line combination in 4th line and 2nd line also in 4th line
I want the output as below:
831178 831177 830373 830372
831958 827391
832226 824442
834434 833887
shell awk sed
831177 830372
831177 830373
831178 831177
831178 831177 830373 830372
831958 827391
832226 824442
834434 833887
I've first line combination in 4th line and 2nd line also in 4th line
I want the output as below:
831178 831177 830373 830372
831958 827391
832226 824442
834434 833887
shell awk sed
shell awk sed
edited Jan 10 at 14:10
Thor
11.7k13459
11.7k13459
asked Jan 10 at 11:39
Dharan Deep AlapatiDharan Deep Alapati
41
41
closed as unclear what you're asking by Kusalananda, Jeff Schaller, Thomas, roaima, agc Jan 20 at 18:16
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as unclear what you're asking by Kusalananda, Jeff Schaller, Thomas, roaima, agc Jan 20 at 18:16
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
Instead of printing lines 4, 5, 6 and 7, would it also be correct to output lines 2, 3, 5, 6 and 7? If not, what is the condition to make the distinction between the two outputs?
– Hkoof
Jan 10 at 14:32
1
You'll have to be much more specific: what precisely is a "partial duplicate"?
– glenn jackman
Jan 11 at 0:08
This question is not clear.
– Emilio Galarraga
Jan 12 at 13:40
add a comment |
1
Instead of printing lines 4, 5, 6 and 7, would it also be correct to output lines 2, 3, 5, 6 and 7? If not, what is the condition to make the distinction between the two outputs?
– Hkoof
Jan 10 at 14:32
1
You'll have to be much more specific: what precisely is a "partial duplicate"?
– glenn jackman
Jan 11 at 0:08
This question is not clear.
– Emilio Galarraga
Jan 12 at 13:40
1
1
Instead of printing lines 4, 5, 6 and 7, would it also be correct to output lines 2, 3, 5, 6 and 7? If not, what is the condition to make the distinction between the two outputs?
– Hkoof
Jan 10 at 14:32
Instead of printing lines 4, 5, 6 and 7, would it also be correct to output lines 2, 3, 5, 6 and 7? If not, what is the condition to make the distinction between the two outputs?
– Hkoof
Jan 10 at 14:32
1
1
You'll have to be much more specific: what precisely is a "partial duplicate"?
– glenn jackman
Jan 11 at 0:08
You'll have to be much more specific: what precisely is a "partial duplicate"?
– glenn jackman
Jan 11 at 0:08
This question is not clear.
– Emilio Galarraga
Jan 12 at 13:40
This question is not clear.
– Emilio Galarraga
Jan 12 at 13:40
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
1
Instead of printing lines 4, 5, 6 and 7, would it also be correct to output lines 2, 3, 5, 6 and 7? If not, what is the condition to make the distinction between the two outputs?
– Hkoof
Jan 10 at 14:32
1
You'll have to be much more specific: what precisely is a "partial duplicate"?
– glenn jackman
Jan 11 at 0:08
This question is not clear.
– Emilio Galarraga
Jan 12 at 13:40