3 ms·
odd, I find the docs to be routinely missing, often substituted by a some kind of shell text file with a gz compression on it (?) first look on an old system:
by mistrial9 6y ago
odd, I find the docs to be routinely missing, often substituted by a some kind of shell text file with a gz compression on it (?)
first look on an old system:
/usr/share/doc/amd64-microcode
/usr/share/doc/anacron
/usr/share/doc/apache2
/usr/share/doc/apache2-bin
/usr/share/doc/apache2-data
all fit that pattern
- zingshue 6y agotry zcat on the gz'ed files.
- chungy 6y ago> odd, I find the docs to be routinely missing, often substituted by a some kind of shell text file with a gz compression on it (?) They're just compressed. Have you tried zless?
- rzzzt 6y agoOn some systems, less can automatically detect gzip compression via lesspipe: https://github.com/wofr06/lesspipe https://github.com/wofr06/lesspipe
- bayindirh 6y agogzipping documents is a long tradition. Most common text reading tools (cat, more, less, grep, diff, and some more) has "z" variants which work on gzipped files directly, without ungzipping them. Most of the tools bigger documentations come in man and info files. If there's an even bigger, additional documentation, it comes with -doc package (like apache2-doc). Otherwise every package comes with some basic documentation and Debian specific changes file, most of the time. Debian's specifics on packaging is very strict. You just cannot package something and publish in the main repo.
- rleigh 6y agoIt was always somewhat annoying though, particularly when it broke inter-document links, and it was a legacy of older times. Today, it's way past time to drop individual file compression. I mean, we have transparent compression with systems like ZFS, so there's no penalty to pay by half-assing it with gzip.
- bayindirh 6y agoIf Linux was a big-iron only OS, I could happily agree but, this stubborn thing works from Raspberries to mainframes and everything in between. So it's not always possible to run it on a CPU which can drive an ZFS on a multi-disk enclosure. I'd rather have individually compressed files instead of running a heavier FS layer with smaller/less powerful systems.
- mistrial9 6y agono, I meant that to save space, more complete docs are replaced by one or two terse files (that also also gzipped).
- pvaldes 6y agoall packages have its man but many packaged have also option al doc packages (i.e if you have installed foo look for a foo-doc package). I still remember the HOWTO text files