/src/tools/pgindent/indent.bsd.patch
Even with the workaround, installation of the patch produces better
-output.
+output. You can get a patched BSD indent from ftp://ftp.postgresql.org/pub/dev.
GNU indent, version 2.2.6, has several problems, and is not recommended.
These bugs become pretty major when you are doing >400k lines of code.
echo "Then run $0 again."
exit 1
fi
-indent -version /dev/null 2>&1
+indent -? /dev/null 2>&1
if [ "$?" -ne 1 ]
then echo "You do not appear to have 'indent' installed on your system." >&2
exit 1