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

From Peter Eisentraut
Subject Re: Link t the souce code
Date
Msg-id 064d5f63-116d-3291-0d5d-88748464b448@enterprisedb.com
Whole thread Raw
In response to Re: Link t the souce code  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: Link t the souce code  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.



pgsql-docs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Link t the souce code
Next
From: Tom Lane
Date:
Subject: Re: Link t the souce code