Apparently even though [0-9]+ works most of the time, its not proper BRE
and doesn't work ALL of the time. Replacing this with [0-9][0-9]* makes
everyone happy.
Noticed by Rich from the busybox project and reported by John Spencer
of the same project.
Changes in 22.18
================
* Added AC_CANONICAL_TARGET for target_os Debian #673485
+ * sed doesn't have [0-9]+ replace with [0-9][0-9]*
Changes in 22.17
================
export LC_ALL=C ; \
@CPP@ -dM $< |\
tr -s '\t ' ' ' | sort -n -k 3 | sed \
- 's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$$:{\ \2,"\1" },:p;d' | \
+ 's:#define SIG\([A-Z][A-Z]*[0-9]*\) \([0-9][0-9]*\) *\(\|/\*.*\)$$:{\ \2,"\1" },:p;d' | \
grep -v '[0-9][0-9][0-9]' >signames.h || \
{ rm -f signames.h; exit 1; }
grep '^{ 1,"HUP" },$$' signames.h >/dev/null || \