I've set up a repo on our git server for the new improved versionof pg_bsd_indent. Please test it for portability to your favoriteplatform(s) by doing
git clone https://git.postgresql.org/git/pg_bsd_indent.gitcd pg_bsd_indentmake -s allmake check
Note you will need a PG installation in your PATH; seeREADME.pg_bsd_indent for details.
There's no Windows support yet, and I won't be writing that,but I hope someone else will.
BTW, HEAD's version of pgindent doesn't play with this yet, sodon't overwrite your old copy of pg_bsd_indent quite yet.
regards, tom lane