-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
I was surprised dropping snzip in with other compressors that it enforces filename extensions.
Thus:
echo foo | snzip -c >foo.sz; snzcat foo.sz
works. But
echo foo | snzip -c >foo.sz; mv foo.sz foo.sz~; snzcat foo.sz~
fails with error "foo.sz~ has unknown suffix".
However
snzcat <foo.sz~
will work fine, because it hides the filename from snzcat.
This behavior is stricter than gzip and xz, and it makes it hard to use snzip as a drop-in.
Perhaps a -f option could force compression, even if the filename is unrecognized?
Metadata
Metadata
Assignees
Labels
No labels