Re: Link t the souce code

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
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 18:09:00
Message-ID: 064d5f63-116d-3291-0d5d-88748464b448@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs


On 21.07.21 19:21, Alvaro Herrera wrote:
> 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.

Unless you want to assume GNU tar, the gunzip is still necessary.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2021-07-21 18:14:23 Re: Link t the souce code
Previous Message Alvaro Herrera 2021-07-21 17:58:58 Re: Link t the souce code