Re: Link t the souce code

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>, "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Link t the souce code
Date: 2021-07-21 17:21:07
Message-ID: 202107211721.pnmoavcgidqb@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 2021-Jul-21, Peter Eisentraut wrote:

> On 21.07.21 01:45, Alvaro Herrera wrote:
> > <screen>
> > -<userinput>gunzip postgresql-&version;.tar.gz</userinput>
> > -<userinput>tar xf postgresql-&version;.tar</userinput>
> > +<userinput>tar xfa postgresql-&version;.tar.gz</userinput>
> > </screen>
>
> The "a" option only applies when creating a tar archive ("c" command). So
> adding it here does nothing.

Oh, so the current `tar x` knows to uncompress the file without any
additional options? I've been pointlessly adding 'z', 'j', 'a' for years ...
That means we can remove the `gunzip` line and replace it with nothing.
WFM ...

--
Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/
"But static content is just dynamic content that isn't moving!"
http://smylers.hates-software.com/2007/08/15/fe244d0c.html

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2021-07-21 17:42:54 Re: Link t the souce code
Previous Message Peter Eisentraut 2021-07-21 15:27:42 Re: Link t the souce code