News for hackers. Stuff that matters.
Re:The growth of command-line options, 1979-Present by djsumdog on Tuesday March 03, 2020 @11:10AM (#22475701)
For the later years, it would be interesting to see the comparison for GNU fileutils vs what's in the base of FreeBSD or OpenBSD vs what's offered by busybox. The author mentions this briefly with Darwin's ls command (which looks like it might just come directly from another BSD).

Also tar's increases might include new compressions methods like bzip2, XZ, etc.

Re:The growth of command-line options, 1979-Present by mprovost on Tuesday March 03, 2020 @12:24PM (#22476576)
Right, but what business does tar have compressing anything in the first place? It's a tape archiver. You can pipe its input/output to compress or gzip or bzip2. Early versions didn't have any ability to compress/decompress archives and relied on external tools, but then that functionality was absorbed, increasing the size of the codebase. And as you point out, every time a new compression method is invented, someone needs to update a bunch of tools instead of just installing one new utility.
Re:The growth of command-line options, 1979-Present by dylan604 on Tuesday March 03, 2020 @06:18PM (#22479678)
> but what business does tar have compressing anything in the first place? It's a tape archiver.

Most of the tape devices themselves had/have compression on them so that tar did not need to do it. However, that compression was pretty weak (2:1), so giving tar the ability to use bzip2 and send the compressed data stream to the tape (bypassing the hardware compression) gave the user much more convenience. Also, older systems probably were bad at doing the compression in real-time, so it probably slowed down the write to tape. I'm just guessing, I have no experience writing to tape from such an old system. I'm not really upset by tar geting some extra features.

Re:The growth of command-line options, 1979-Present by int_19h on Tuesday March 03, 2020 @10:39PM (#22481020)
Is compression support in tar built-in? I always thought that those switches simply use gunzip etc under the hood.