Re: WIP pgindent replacement

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP pgindent replacement
Date: 2012-08-03 16:51:03
Message-ID: 501C0177.4010305@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2012-08-03 16:53:22 Re: -Wformat-zero-length
Previous Message Bruce Momjian 2012-08-03 16:44:35 Re: -Wformat-zero-length