I need to perform 2 operations in Sublime Text: extract unique lines and extract duplicate lines. For example for input
a
b
a
Extract duplicates should result in:
a
and Extract unique should result in:
b
Is there a built-in operation or a plugin to do that?