Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

One can't proceed from the informal to the formal by formal means.


devel / comp.unix.shell / Re: Is the -t option of gzip widely accepted and portable?

SubjectAuthor
* Is the -t option of gzip widely accepted and portable?hongy...@gmail.com
`* Re: Is the -t option of gzip widely accepted and portable?Ed Morton
 `* Re: Is the -t option of gzip widely accepted and portable?Christian Weisgerber
  +- Re: Is the -t option of gzip widely accepted and portable?hongy...@gmail.com
  `- Re: Is the -t option of gzip widely accepted and portable?Computer Nerd Kev

1
Is the -t option of gzip widely accepted and portable?

<09ffff30-8c6a-4045-bbf1-45c7a9d0ac34n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4842&group=comp.unix.shell#4842

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:6214:20e8:: with SMTP id 8mr58249974qvk.67.1641647515889;
Sat, 08 Jan 2022 05:11:55 -0800 (PST)
X-Received: by 2002:ad4:5b82:: with SMTP id 2mr10332344qvp.22.1641647515710;
Sat, 08 Jan 2022 05:11:55 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Sat, 8 Jan 2022 05:11:55 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=203.175.13.159; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 203.175.13.159
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <09ffff30-8c6a-4045-bbf1-45c7a9d0ac34n@googlegroups.com>
Subject: Is the -t option of gzip widely accepted and portable?
From: hongyi.z...@gmail.com (hongy...@gmail.com)
Injection-Date: Sat, 08 Jan 2022 13:11:55 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 5
 by: hongy...@gmail.com - Sat, 8 Jan 2022 13:11 UTC

I'm currently creating a merge request which enhance the archive integrity of the compressed file [1]. But I'm not sure if this trick is widely accepted and portable. Any hints will be highly appreciated.

[1] https://gitlab.com/QEF/q-e/-/issues/435

Regards,
HZ

Re: Is the -t option of gzip widely accepted and portable?

<src47u$49j$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4843&group=comp.unix.shell#4843

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mortons...@gmail.com (Ed Morton)
Newsgroups: comp.unix.shell
Subject: Re: Is the -t option of gzip widely accepted and portable?
Date: Sat, 8 Jan 2022 07:40:13 -0600
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <src47u$49j$1@dont-email.me>
References: <09ffff30-8c6a-4045-bbf1-45c7a9d0ac34n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 8 Jan 2022 13:40:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="ef396b5f3409680ca5ecd09503f60463";
logging-data="4403"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+V6v/X4EqdE8YCOlH8Z6BU"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:dlugTpFqz4goPpsI+KHAJJ3FjqE=
In-Reply-To: <09ffff30-8c6a-4045-bbf1-45c7a9d0ac34n@googlegroups.com>
X-Antivirus-Status: Clean
Content-Language: en-US
X-Antivirus: Avast (VPS 220107-4, 1/7/2022), Outbound message
 by: Ed Morton - Sat, 8 Jan 2022 13:40 UTC

On 1/8/2022 7:11 AM, hongy...@gmail.com wrote:
> I'm currently creating a merge request which enhance the archive integrity of the compressed file [1]. But I'm not sure if this trick is widely accepted and portable. Any hints will be highly appreciated.
>
> [1] https://gitlab.com/QEF/q-e/-/issues/435
>
> Regards,
> HZ

Please always put your question in the body of your message, not just in
the subject line.

You're asking if the advertised argument (-t) to a GNU-specific tool
(gzip) is portable. Portable to what? It's not like awk where there's
multiple vendors and so multiple variations of the tool. gzip is
provided by GNU so if they say it has a `-t` argument then it has a `-t`
argument.

Ed.

Re: Is the -t option of gzip widely accepted and portable?

<slrnstjvn0.1m12.naddy@lorvorc.mips.inka.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4844&group=comp.unix.shell#4844

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From: nad...@mips.inka.de (Christian Weisgerber)
Newsgroups: comp.unix.shell
Subject: Re: Is the -t option of gzip widely accepted and portable?
Date: Sat, 8 Jan 2022 21:15:12 -0000 (UTC)
Message-ID: <slrnstjvn0.1m12.naddy@lorvorc.mips.inka.de>
References: <09ffff30-8c6a-4045-bbf1-45c7a9d0ac34n@googlegroups.com>
<src47u$49j$1@dont-email.me>
Injection-Date: Sat, 8 Jan 2022 21:15:12 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
logging-data="55331"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
 by: Christian Weisgerber - Sat, 8 Jan 2022 21:15 UTC

On 2022-01-08, Ed Morton <mortonspam@gmail.com> wrote:

> You're asking if the advertised argument (-t) to a GNU-specific tool
> (gzip) is portable. Portable to what? It's not like awk where there's
> multiple vendors and so multiple variations of the tool.

Actually there are.

OpenBSD has extended BSD compress(1) to cover gzip; both are hardlinks
to the same program.

NetBSD has a re-implementation of GNU gzip, which is also used by
FreeBSD.

They all support -t.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Re: Is the -t option of gzip widely accepted and portable?

<f5a46258-fc83-4436-a143-d5f76326f199n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4845&group=comp.unix.shell#4845

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:6214:1c81:: with SMTP id ib1mr40880459qvb.127.1641710896555;
Sat, 08 Jan 2022 22:48:16 -0800 (PST)
X-Received: by 2002:ac8:7744:: with SMTP id g4mr61180233qtu.48.1641710896415;
Sat, 08 Jan 2022 22:48:16 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Sat, 8 Jan 2022 22:48:16 -0800 (PST)
In-Reply-To: <slrnstjvn0.1m12.naddy@lorvorc.mips.inka.de>
Injection-Info: google-groups.googlegroups.com; posting-host=203.175.13.159; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 203.175.13.159
References: <09ffff30-8c6a-4045-bbf1-45c7a9d0ac34n@googlegroups.com>
<src47u$49j$1@dont-email.me> <slrnstjvn0.1m12.naddy@lorvorc.mips.inka.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f5a46258-fc83-4436-a143-d5f76326f199n@googlegroups.com>
Subject: Re: Is the -t option of gzip widely accepted and portable?
From: hongyi.z...@gmail.com (hongy...@gmail.com)
Injection-Date: Sun, 09 Jan 2022 06:48:16 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 21
 by: hongy...@gmail.com - Sun, 9 Jan 2022 06:48 UTC

On Sunday, January 9, 2022 at 5:30:11 AM UTC+8, Christian Weisgerber wrote:
> On 2022-01-08, Ed Morton <morto...@gmail.com> wrote:
>
> > You're asking if the advertised argument (-t) to a GNU-specific tool
> > (gzip) is portable. Portable to what? It's not like awk where there's
> > multiple vendors and so multiple variations of the tool.
> Actually there are.
>
> OpenBSD has extended BSD compress(1) to cover gzip; both are hardlinks
> to the same program.
>
> NetBSD has a re-implementation of GNU gzip, which is also used by
> FreeBSD.
>
> They all support -t.

Thank you for your comment. And also see the following options supplied by gzip and uncompress on Debian derived distros:

werner@X10DAi-00:~$ gzip --help |grep -- -t
-t, --test test compressed file integrity
werner@X10DAi-00:~$ uncompress -h|grep -- -t
-t, --test test compressed file integrity

Re: Is the -t option of gzip widely accepted and portable?

<srfhci$1ddp$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4848&group=comp.unix.shell#4848

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!aioe.org!lPUKPgS3tq25z33eMfeH6w.user.46.165.242.75.POSTED!not-for-mail
From: not...@telling.you.invalid (Computer Nerd Kev)
Newsgroups: comp.unix.shell
Subject: Re: Is the -t option of gzip widely accepted and portable?
Date: Sun, 9 Jan 2022 20:42:59 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <srfhci$1ddp$1@gioia.aioe.org>
References: <09ffff30-8c6a-4045-bbf1-45c7a9d0ac34n@googlegroups.com> <src47u$49j$1@dont-email.me> <slrnstjvn0.1m12.naddy@lorvorc.mips.inka.de>
Injection-Info: gioia.aioe.org; logging-data="46521"; posting-host="lPUKPgS3tq25z33eMfeH6w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
X-Notice: Filtered by postfilter v. 0.9.2
 by: Computer Nerd Kev - Sun, 9 Jan 2022 20:42 UTC

Christian Weisgerber <naddy@mips.inka.de> wrote:
> On 2022-01-08, Ed Morton <mortonspam@gmail.com> wrote:
>
>> You're asking if the advertised argument (-t) to a GNU-specific tool
>> (gzip) is portable. Portable to what? It's not like awk where there's
>> multiple vendors and so multiple variations of the tool.
>
> Actually there are.
>
> OpenBSD has extended BSD compress(1) to cover gzip; both are hardlinks
> to the same program.
>
> NetBSD has a re-implementation of GNU gzip, which is also used by
> FreeBSD.
>
> They all support -t.

Plus BusyBox, which also supports -t with its gzip implementation
(in v1.33.0 at least).

--
__ __
#_ < |\| |< _#

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor