Ignore build artifact
[khome.git] / list
diff --git a/list b/list
index acfdde7..2c518e8 100755 (executable)
--- a/list
+++ b/list
@@ -3,9 +3,13 @@
 ! /^\#/ && ! /^$/ {
     xs[$1]++
 }
-    
+
 END {
     for (x in xs) {
-        printf("%s%s", sep, x, sep = " ")
+        if (xs[x] > 1) {
+            printf ">>> [WARNING] : '%s' was listed %d times.\n", x, xs[x] > "/dev/stderr"
+        }
+        printf("%s%s", sep, x)
+        sep = " "
     }
 }
This page took 0.017326 seconds and 4 git commands to generate.