Debian Codegraph @

third-party/zstd/programs/zstdless

raw
1 #!/bin/sh
2
3 zstd=${ZSTD:-zstd}
4
5 # TODO: Address quirks and bugs tied to old versions of less, provide a mechanism to pass flags directly to zstd
6
7 export LESSOPEN="|-${zstd} -cdfq %s"
8 exec less "$@"