Re: Link t the souce code - Mailing list pgsql-docs

From Alvaro Herrera
Subject Re: Link t the souce code
Date
Msg-id 202107211721.pnmoavcgidqb@alvherre.pgsql
Whole thread Raw
In response to Re: Link t the souce code  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: Link t the souce code  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Link t the souce code  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List 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



pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Link t the souce code
Next
From: Tom Lane
Date:
Subject: Re: Link t the souce code