home
/
code
/
khome.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add "open" function to fork xdg-open
[khome.git]
/
list
1
#! /usr/bin/awk -f
2
3
BEGIN
{
4
sep = sep ? sep
:
" "
5
end
=
end
?
end
:
""
6
}
7
8
!
/
^\
#/ && ! /^$/ {
9
xs
[
$
1
]++
10
}
11
12
END
{
13
_sep =
""
14
for
(
x in xs
) {
15
if
(
xs
[
x
] >
1
) {
16
printf
">>> [WARNING] : '%s' was listed %d times.
\n
"
,
x
,
xs
[
x
] >
"/dev/stderr"
17
}
18
printf
(
"%s%s"
,
_sep
,
x
)
19
_sep = sep
20
}
21
printf
"%s"
,
end
22
}
This page took
0.087172 seconds
and
4
git commands to generate.