Re: Petition: Treat #!... shebangs as comments

From: Martin Gudmundsson <martingudmundsson(at)gmail(dot)com>
To: andrew(dot)pennebaker(at)gmail(dot)com
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Petition: Treat #!... shebangs as comments
Date: 2014-07-18 19:28:25
Message-ID: 79F57742-E7C0-4047-924C-F57CF5014E3D@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


18 jul 2014 kl. 17:31 skrev Dennis Jenkins <dennis(dot)jenkins(dot)75(at)gmail(dot)com>:

> On Fri, Jul 18, 2014 at 10:16 AM, Andrew Pennebaker <andrew(dot)pennebaker(at)gmail(dot)com> wrote:
> Could we please have the PostgreSQL lexer treat #!... on the first line of a file as a comment? This would enable .psql scripts to be run with dot-slash notation preferred by many unix users:
>
> ./script.psql
>
> While still allowing the traditional (and Windows compatible) style:
>
> psql -f script.psql
>
>
> +1

+1, Sounds great!
Even though you can accomplish most things in other ways, this seems like the easiest in many scenarios.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Pennebaker 2014-07-18 19:37:12 Re: Petition: Treat #!... shebangs as comments
Previous Message Ferrell, Denise CTR NSWCDD, Z11 2014-07-18 19:25:54 Re: [ADMIN] Editable Views