Hello,

I would like to suggest a minor fix for an anachronism in tar. The file name extension '.tlz' is used by Slackware[1] to mean '.tar.lz' and AFAIK nobody is using it to mean '.tar.lzma'.

[1] See, for example, http://mirror.slackbuilds.org/slackware/slackware-current/source/a/pkgtools/scripts/explodepkg

Best regards,
Antonio.
diff -urdN tar-1.35/doc/tar.texi tar-1.35.new/doc/tar.texi
--- tar-1.35/doc/tar.texi       2023-07-10 09:39:34.000000000 +0200
+++ tar-1.35.new/doc/tar.texi   2026-10-09 11:52:22.979709304 +0200
@@ -9914,8 +9914,8 @@
 @item @samp{.tbz2} @tab @command{bzip2}
 @item @samp{.tbz} @tab @command{bzip2}
 @item @samp{.lz} @tab @command{lzip}
+@item @samp{.tlz} @tab @command{lzip}
 @item @samp{.lzma} @tab @command{lzma}
-@item @samp{.tlz} @tab @command{lzma}
 @item @samp{.lzo} @tab @command{lzop}
 @item @samp{.xz} @tab @command{xz}
 @item @samp{.zst} @tab @command{zstd}
diff -urdN tar-1.35/src/suffix.c tar-1.35.new/src/suffix.c
--- tar-1.35/src/suffix.c       2023-07-10 09:29:17.000000000 +0200
+++ tar-1.35.new/src/suffix.c   2026-10-09 11:59:33.169711344 +0200
@@ -40,8 +40,8 @@
   { S(tbz2, BZIP2) },
   { S(tz2,  BZIP2) },
   { S(lz,   LZIP) },
+  { S(tlz,  LZIP) },
   { S(lzma, LZMA) },
-  { S(tlz,  LZMA) },
   { S(lzo,  LZOP) },
   { S(xz,   XZ) },
   { S(txz,  XZ) }, /* Slackware */

Reply via email to