Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iP5KR-0001iW-Jg for pgsql-general@arkaria.postgresql.org; Mon, 28 Oct 2019 13:45:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iP5KP-000365-At for pgsql-general@arkaria.postgresql.org; Mon, 28 Oct 2019 13:45:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iP5KO-00035n-Um for pgsql-general@lists.postgresql.org; Mon, 28 Oct 2019 13:45:01 +0000 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iP5KM-0003pW-NW for pgsql-general@lists.postgresql.org; Mon, 28 Oct 2019 13:45:00 +0000 Received: by mail-oi1-x22b.google.com with SMTP id v186so5905680oie.5 for ; Mon, 28 Oct 2019 06:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=wfO29ctr2reu+dx1XBPkgUvgalKDbi/KKPmxokLzMK4=; b=GQBjPMdpl+uhxCwBLZovU9oTEDVqIHoufZ7vhL3FcPWHXO7HTe31AubDA4PrQDwm+A 4OD9ZkXfxiG9FNXt8+IIAzwwaMjAYRocmX6KjCmqCgET9+h4qFsEX5tUyO0nCyYW94LN QBFm8oAsWnzUj6/z9iGFjxPBFRs6bErfi38rtJh7df8VK8wsBJOzAhOToke96sThmSEm vuxHVo3EsWwR80owCcQItZdpFpDL57aZzm4XQPVwb1AIwl5IjBFAflg+jbbGndgOQVqm INiFkJoFKnRmzstB4VRI0EObp+BFpPZziL3oAvq5wDlNY2UBtRJQE/rCsMK8BUQNIuU4 7vnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=wfO29ctr2reu+dx1XBPkgUvgalKDbi/KKPmxokLzMK4=; b=Yxj0QXw6KseZJ0IAQyisW1goJud5Ln+WT1uRZwtQQm2HYmcnJAbEnDFTlS/U+2XMfK YDd+NXwFfO0ap97lufJXxbQMtNZLxg2YtzlTG1HKrmBPYVKmcZxjMDVdTPOkSDoIiKD5 lTEIh7Lv1tXoWmW55KFGFKeYW9vVMWpGRSYfDb9U57qUJudRCMwq8cDqNUxWFI6v0pCX nTQIqGQGbxBy7FDMpQS5T2yuHoRLCHjo2suWISRKYkjP4Zmhdc0oe6qNNYBaZCmxTJTF r9h4C9IiIQRylaSTQVaxlzR+oR91man+V3y7q4M59VdkhSNkWK2vMsiI3nnCTLy2qI/F kowA== X-Gm-Message-State: APjAAAVbgBgzzxOlwLEhelNIK2nlerUYiiK10BWe6noglwi4lsV0YOOX C4ryYzSL0oDcFF9KPuSogvy4t0Mf X-Google-Smtp-Source: APXvYqynPRBohU7p/5qNfbdoM4psYdiCGRrM8zQP7aMGzqv+OI1yGqmcXfd78EJH95V+afukVQYF4g== X-Received: by 2002:aca:5bd5:: with SMTP id p204mr31759oib.61.1572270296252; Mon, 28 Oct 2019 06:44:56 -0700 (PDT) Received: from [10.0.0.10] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id y6sm3135392oiy.45.2019.10.28.06.44.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Oct 2019 06:44:55 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Rob Sargent Mime-Version: 1.0 (1.0) Subject: Re: SQL pretty pritner? Date: Mon, 28 Oct 2019 07:44:48 -0600 Message-Id: <565DBA83-1924-4729-91DC-683D95012800@gmail.com> References: <5abaa910-256e-fb91-5eb8-93a847e78e01@gmail.com> Cc: pgsql-general@lists.postgresql.org In-Reply-To: <5abaa910-256e-fb91-5eb8-93a847e78e01@gmail.com> To: Ron X-Mailer: iPhone Mail (17A878) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Oct 28, 2019, at 7:37 AM, Ron wrote: >=20 > =EF=BB=BFBut does it reformat the text? >=20 It=E2=80=99s an =E2=80=9Cindented text mode=E2=80=9D so beeline respect curr= ent indentation. I don=E2=80=99t think it will take an stream out sql and ad= d newlines at predictable places. Not at My desk to try.=20 >> On 10/28/19 8:00 AM, Basques, Bob (CI-StPaul) wrote: >> All, >>=20 >> 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 t= o HTML. I have yet to find a file type that it doesn=E2=80=99t already hand= le. >>=20 >> Works really slick. >>=20 >> bobb >>=20 >>=20 >>=20 >>>> On Oct 27, 2019, at 5:21 PM, stan wrote: >>>=20 >>> Think Before You Click: This email originated outside our organization. >>>=20 >>>=20 >>> 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 tha= t >>> bolds keywords, handles page breaks, and does some formatting. >>>=20 >>> Development being done in an Ubuntu Linux environment. >>>=20 >>> Anyone have a recommendation? >>=20 >=20 > --=20 > Angular momentum makes the world go 'round. >=20 >=20