Skip to content

Instantly share code, notes, and snippets.

@alexknowshtml
Created June 8, 2010 02:49
Show Gist options
  • Save alexknowshtml/429532 to your computer and use it in GitHub Desktop.
Save alexknowshtml/429532 to your computer and use it in GitHub Desktop.
awk '{
if ($0 in stored_lines)
x=1
else
print
stored_lines[$0]=1
}' colors.txt > colors.clean.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment