summaryrefslogtreecommitdiffstats
path: root/src/zstd/programs/zstdless
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/zstd/programs/zstdless2
-rw-r--r--src/zstd/programs/zstdless.114
-rw-r--r--src/zstd/programs/zstdless.1.md16
3 files changed, 32 insertions, 0 deletions
diff --git a/src/zstd/programs/zstdless b/src/zstd/programs/zstdless
new file mode 100755
index 000000000..893799e7d
--- /dev/null
+++ b/src/zstd/programs/zstdless
@@ -0,0 +1,2 @@
+#!/bin/sh
+zstdcat "$@" | less
diff --git a/src/zstd/programs/zstdless.1 b/src/zstd/programs/zstdless.1
new file mode 100644
index 000000000..d54c6400c
--- /dev/null
+++ b/src/zstd/programs/zstdless.1
@@ -0,0 +1,14 @@
+.
+.TH "ZSTDLESS" "1" "May 2020" "zstd 1.4.5" "User Commands"
+.
+.SH "NAME"
+\fBzstdless\fR \- view zstandard\-compressed files
+.
+.SH "SYNOPSIS"
+\fBzstdless\fR [\fIflags\fR] [\fIfile\fR \.\.\.]
+.
+.SH "DESCRIPTION"
+\fBzstdless\fR runs \fBless (1)\fR on files or stdin, if no files argument is given, after decompressing them with \fBzstdcat (1)\fR\.
+.
+.SH "SEE ALSO"
+\fBzstd (1)\fR
diff --git a/src/zstd/programs/zstdless.1.md b/src/zstd/programs/zstdless.1.md
new file mode 100644
index 000000000..d91d48abc
--- /dev/null
+++ b/src/zstd/programs/zstdless.1.md
@@ -0,0 +1,16 @@
+zstdless(1) -- view zstandard-compressed files
+============================================================================
+
+SYNOPSIS
+--------
+
+`zstdless` [*flags*] [_file_ ...]
+
+
+DESCRIPTION
+-----------
+`zstdless` runs `less (1)` on files or stdin, if no files argument is given, after decompressing them with `zstdcat (1)`.
+
+SEE ALSO
+--------
+`zstd (1)`