Re: perlcritic script - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: perlcritic script
Date
Msg-id 373bc8e5-35e8-48bb-eb6a-34927e96d996@2ndquadrant.com
Whole thread Raw
In response to perlcritic script  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Responses Re: perlcritic script  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 5/8/18 13:57, Andrew Dunstan wrote:
> +    # take executable files that file(1) thinks are perl files
> +    find . -type f -perm -100 -exec file {} \; -print |
> +    egrep -i ':.*perl[0-9]*\>' |

How portable is that?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Cast jsonb to numeric, int, float, bool
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Cutting initdb's runtime (Perl question embedded)