Skip to content

Commit

Permalink
Fix to ignore duplicates in dictionaries
Browse files Browse the repository at this point in the history
Closes GH-3.
  • Loading branch information
wooorm committed Mar 8, 2018
1 parent 18048b5 commit 875516d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osx-learn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ touch "$database"

echo "$1" >> $database

data=$(cat $database | sort)
data=$(cat $database | sort | uniq)

echo "$data" > $database

Expand Down

0 comments on commit 875516d

Please sign in to comment.