Expand description
Compatibility links: when the binary is invoked under another tool’s name (through a symlink), it behaves as that tool, with that tool’s flags, messages and exit codes, not stuffr’s.
Modules§
- bzip2
- The
bzip2/bunzip2/bzcatfamily: stuffr behaving as bzip2 1.0.8. - bzip2recover
bzip2recover: stuffr behaving as bzip2recover 1.0.8.- gzip
- The gzip family (
gzip,gunzip,zcat,gzcat): stuffr behaving as the platform’s own gzip. - links
stuffr install-links: opt-in compatibility symlinks.- xz
- The xz family (
xz,unxz,xzcat,lzma,unlzma,lzcat): stuffr behaving as XZ Utils 5.8.4’sxz. - zstd
- The zstd family (
zstd,unzstd,zstdcat,zstdmt): stuffr behaving as zstd 1.5.7’s command line tool.
Enums§
- Family
- A family of tools the binary can impersonate.
Functions§
- dispatch
- Run the compatibility tool
args[0]names, or returnNonewhen it names none (the caller then behaves asstuffr). The tool gets the arguments afterargs[0];bzip2recover, which prints itsargv[0]verbatim, getsargs[0]as well. - family_
for - The family and canonical name for an
argv[0], orNonewhen it is not a compatibility name. Only the final path component counts, and on Windows a trailing.exeis ignored. - names
- Every compatibility name, from the one table
family_foralso reads.