Petition: Treat #!... shebangs as comments

Поиск
Список
Период
Сортировка
От Andrew Pennebaker
Тема Petition: Treat #!... shebangs as comments
Дата
Msg-id CAHXt_SVbT=zL5attA0qSpRbQfPEdn25VJ7nLodnYwE9cX_9qcQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Petition: Treat #!... shebangs as comments  (Dennis Jenkins <dennis.jenkins.75@gmail.com>)
Re: Petition: Treat #!... shebangs as comments  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Petition: Treat #!... shebangs as comments  (Francisco Olarte <folarte@peoplecall.com>)
Список pgsql-general
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

--
Cheers,

Andrew Pennebaker

В списке pgsql-general по дате отправления:

Предыдущее
От: David G Johnston
Дата:
Сообщение: Re: Watching Views
Следующее
От: Sergey Konoplev
Дата:
Сообщение: Re: statement_timeout doesn't work