1
0
mirror of https://github.com/facebook/zstd.git synced 2025-03-07 09:26:03 +02:00
zstd/programs/zstdless

9 lines
197 B
Plaintext
Raw Normal View History

2016-12-22 17:40:10 -05:00
#!/bin/sh
zstd=${ZSTD:-zstd}
# TODO: Address quirks and bugs tied to old versions of less, provide a mechanism to pass flags directly to zstd
export LESSOPEN="|-${zstd} -cdfq %s"
exec less "$@"