Tom Lane wrote:
> cvs tip configure is giving a warning:
>
> checking for flags to link embedded Perl...
/usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi/CORE-lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
> gawk: warning: escape sequence `\.' treated as plain `.'
> checking for library containing setproctitle... no
>
> Evidently gawk is not happy about
>
> $AWK -F'\.' '{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'`"
OK, I reread the manual page:
As each input record is read, gawk splits the record into fields, using the value of the FS variable as
the field separator. If FS is a single character, fields are sepa- rated by that character. If FS is the
null string, then each individual character becomes a separate field. Oth- erwise, FS is expected to be a
full regular expression.
Turns out -F is a regex only if it is more than one character. Fixed by
changing it to '.'. Applied.
-- Bruce Momjian http://candle.pha.pa.us SRA OSS, Inc. http://www.sraoss.com
+ If your life is a hard drive, Christ can be your backup. +