Search Postgresql Archives

Re: SQL pretty pritner?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,

VI has a lot of option ( that I haven’t tried) and I would bet that there are options for formatting and page breaks, etc.  It’s a bit of a learning curve though.

bobb



> On Oct 28, 2019, at 8:44 AM, Rob Sargent <robjsargent@xxxxxxxxx> wrote:
> 
> Think Before You Click: This email originated outside our organization.
> 
> 
>> On Oct 28, 2019, at 7:37 AM, Ron <ronljohnsonjr@xxxxxxxxx> wrote:
>> 
>> But does it reformat the text?
>> 
> It’s an “indented text mode” so beeline respect current indentation. I don’t think it will take an stream out sql and add newlines at predictable places. Not at My desk to try.
> 
>>> On 10/28/19 8:00 AM, Basques, Bob (CI-StPaul) wrote:
>>> All,
>>> 
>>> Take a look at the VI(m) editor.  There is a Syntax mode for highlighting different file types, as well as tools for exporting the highlighted text to HTML.  I have yet to find a file type that it doesn’t already handle.
>>> 
>>> Works really slick.
>>> 
>>> bobb
>>> 
>>> 
>>> 
>>>>> On Oct 27, 2019, at 5:21 PM, stan <stanb@xxxxxxxxx> wrote:
>>>> 
>>>> Think Before You Click: This email originated outside our organization.
>>>> 
>>>> 
>>>> I have a presentation later in the week, and i plan on printing out some
>>>> files containing SQL commands. I have used some "pretty printers" in the
>>>> past for things like Perl scripts. What I am thinking of s something that
>>>> bolds keywords, handles page breaks, and does some formatting.
>>>> 
>>>> Development being done in an Ubuntu Linux environment.
>>>> 
>>>> Anyone have a recommendation?
>>> 
>> 
>> --
>> Angular momentum makes the world go 'round.
>> 
>> 
> 
> 





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux