For whatever reason at least some versions of the MinGW/MSYS port of GNU
sed doesn't seem to handle scripts staring with #n. No big deal, we can
just use the -n option explicitly instead.
# Program to generate expected output based on src/execute.gperf
AT_DATA([expout.sed],
-[[#n
-/^%%$/,/^%%$/ {
+[[/^%%$/,/^%%$/ {
s/^exit.*//
s/,.*//p
}
$a\
type int
]])
-sed -f expout.sed "$srcdir/src/execute.gperf" >expout
+sed -n -f expout.sed "$srcdir/src/execute.gperf" >expout
# Program to filter the help output to extract the command list from "help"
# without any descriptions.