Keith Parks <emkxp01@mtcc.demon.co.uk> writes:
> Running Gen_fmgrtab.sh with a "set -x" shows:-
> const FmgrBuiltin fmgr_builtins[] = {
> + awk { printf (" { %d, \"%s\", %d, %s, %s, %s },\n"), \
> $1, $(NF-1), $9, \
> ($8 == "t") ? "true" : "false", \
> ($4 == "11") ? "true" : "false", \
> $(NF-1) } fmgr.raw
> awk: syntax error near line 3
> awk: illegal statement near line 3
Ugh. I think that the former version of the script didn't use
conditional expressions (a ? b : c). Perhaps old versions of
awk don't have those? If so we can probably work around it...
regards, tom lane