home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switch weather format to v2
[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.026923 seconds
and
4
git commands to generate.