Wednesday, September 5, 2012

Bash script - Removing duplicated lines from file

Run this command:

awk '!x[$0]++' source.txt > target.txt

No comments: