home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce6584
)
Warn if list item appears more than once
author
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 4 Sep 2019 23:07:21 +0000
(19:07 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 4 Sep 2019 23:07:21 +0000
(19:07 -0400)
list
patch
|
blob
|
blame
|
history
diff --git
a/list
b/list
index
04d5d3c
..
2c518e8
100755
(executable)
--- a/
list
+++ b/
list
@@
-6,6
+6,9
@@
END {
for (x in xs) {
+ 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.025523 seconds
and
4
git commands to generate.