Obtaining unique lines with matching strings
76043
Remove entire row in a file if first column is repeated
32033
How can I detect common substrings in a list of strings
136311
Strpos with exact matches
90779
awk, sed, or other text processing suggestions, please
155779
Selecting Unique Elements From a List in C#
36616
How Does One Remove Duplicate Text Lines From Files Larger Than 4GB?
147579
Split line into key-value pairs based on first string
32721
Removing lines from text file that contain string at beginning and string at end - and keep one
117829
Extract random sample of N lines based on pattern
93925
How to create an array of unique elements from a string/array in bash?
63005
printing a block of text that matches a pattern
65270
How do I perform string matching and replacements?
50383
How can I search for a multiline pattern in a file?
1293
Match patterns on list of Strings
12278
How to select lines between two marker patterns which may occur multiple times with awk/sed
26517
Is there a tool to get the lines in one file that are not in another?
17305
using perl, how to select last 2 lines in the case of each row has same word?