Introduce zstd into cosmopolitan (#843)

This commit is contained in:
Farid Zakaria 2023-07-01 20:30:38 -07:00 committed by GitHub
parent c0348330a5
commit 5f1e129222
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 64014 additions and 0 deletions

8
third_party/zstd/programs/zstdless vendored Executable file
View file

@ -0,0 +1,8 @@
#!/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 "$@"