Page MenuHomeFreeBSD

lesspipe: Allow zstd to operate on a symlink
AcceptedPublic

Authored by emaste on Wed, Feb 4, 4:59 PM.

Details

Reviewers
delphij
Summary
By default zstd refuses to operate on symlinks, so for example
`zless /var/crash/vmcore.last.zst` failed to view the uncompressed core
file.  Add -f to the zstd command line to allow operation on symlinks.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste requested review of this revision.Wed, Feb 4, 4:59 PM
emaste created this revision.

I'd probably use zstdcat -q here but change LGTM as-is too.

This revision is now accepted and ready to land.Thu, Feb 5, 4:56 AM