Re: Petition: Treat #!... shebangs as comments - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Petition: Treat #!... shebangs as comments
Date
Msg-id 53C94437.5010008@aklaver.com
Whole thread Raw
In response to Re: Petition: Treat #!... shebangs as comments  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Responses Re: Petition: Treat #!... shebangs as comments  (Martin Gudmundsson <martingudmundsson@gmail.com>)
List pgsql-general
On 07/18/2014 08:52 AM, Karsten Hilbert wrote:
> On Fri, Jul 18, 2014 at 08:32:53AM -0700, Adrian Klaver wrote:
>

>
> I think the OP is talking about executable scripts so both of
>
>     $> psql -f the-file.sql
>
> and
>
>     $> ./the-file.sql
>
>     (where the-file.sql starts with "#!/usr/bin/env psql")
>
> would work given that the-file.sql has got execute permission.

Yea, it finally dawned on me what was being asked, so ignore my previous
post.

>
> Karsten
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: Petition: Treat #!... shebangs as comments
Next
From: Martin Gudmundsson
Date:
Subject: Re: Petition: Treat #!... shebangs as comments