hello everyone,
got issue regarding reading duplicate lines in a text file...
im not trying to eliminate the duplicates lines, all i need is to put all the duplicates lines to another file...
for instance, in my file "data.txt" i have duplicates lines
AAAAA
BBBBB
BBBBB
CCCCC
i need to copy the [BBBBB] lines to another file...
how can i do that...
thanks...