repo.or.cz
/
geany-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Avoid an easy-to-fix function cast
[geany-mirror.git]
/
scripts
/
gen-signallist.sh
blob
bf56ec7ff52de6705ddf89f2ffdc1e8bdb500480
1
#!/bin/sh
2
3
set -e
4
5
HEADER
=
"/* This file is auto-generated, do not edit. */"
6
TEXT
=
$
(
sed
-n
's/^.*handler="\([^"]\{1,\}\)".*$/ITEM(\1)/p'
"
$1
"
|
sort
|
uniq
)
7
8
printf
"%s
\n
%s
\n
"
"
$HEADER
"
"
$TEXT
"
>
"
$2
"