Skip to content
Browse files

awk --> gawk

  • Loading branch information...
1 parent 7cac553 commit 5445a89694865f1f6706f2ed3ba446b0bcbadcb6 @graysky2 committed Dec 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 backdrop-randomizer
View
4 backdrop-randomizer
@@ -95,9 +95,9 @@ check() {
fi
# remove dups in database if they are present
- uniques=$(awk ' !x[$0]++' "$pic_database" | wc -l)
+ uniques=$(gawk ' !x[$0]++' "$pic_database" | wc -l)
if [[ "$howmany" != "$uniques" ]]; then
- awk ' !x[$0]++' "$pic_database" > /tmp/.backdrop_nodups
+ gawk ' !x[$0]++' "$pic_database" > /tmp/.backdrop_nodups
mv /tmp/.backdrop_nodups "$pic_database"
howmany=$(cat "$pic_database" | wc -l)
fi

0 comments on commit 5445a89

Please sign in to comment.
Something went wrong with that request. Please try again.