Re: WIP pgindent replacement - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: WIP pgindent replacement
Date
Msg-id 501C0177.4010305@dunslane.net
Whole thread Raw
In response to Re: WIP pgindent replacement  (Bruce Momjian <bruce@momjian.us>)
Responses Re: WIP pgindent replacement
List pgsql-hackers
On 08/03/2012 10:51 AM, Bruce Momjian wrote:


> OK, sure, we can keep the pgindent name --- I was just trying to be
> consistent.  One problem with the lack of an extension is that there is
> no easy way for the Perl cleanup instructions to find all the Perl
> executables --- right now it looks for an extension.  Do we have other
> Perl scripts in our tree that don't end in *.pl or *.pm?  I didn't find
> any with this script:
>
>     $ find . -type f -exec file {} \;|grep Perl
>     ./src/backend/catalog/Catalog.pm: Perl5 module source text
>     ./src/tools/msvc/MSBuildProject.pm: Perl5 module source text
>     ./src/tools/msvc/Project.pm: Perl5 module source text
>     ./src/tools/msvc/Mkvcbuild.pm: Perl5 module source text
>     ./src/tools/msvc/Install.pm: Perl5 module source text
>     ./src/tools/msvc/Solution.pm: Perl5 module source text
>     ./src/tools/msvc/VCBuildProject.pm: Perl5 module source text
>     ./src/tools/msvc/VSObjectFactory.pm: Perl5 module source text

Try:
   find . -exec file {} \; | egrep 'perl script|perl -w script|Perl5   module'


cheers

andrew


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: -Wformat-zero-length
Next
From: Alvaro Herrera
Date:
Subject: Re: -Wformat-zero-length