On Sunday, January 9, 2022 at 5:30:11 AM UTC+8, Christian Weisgerber wrote:
On 2022-01-08, Ed Morton <[email protected]> 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
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)