1
0
mirror of https://github.com/kspalaiologos/bzip3.git synced 2026-10-23 14:48:53 +03:00

add most support (#74)

Co-authored-by: Cassandra Watergate <cassandrajwatergate@gmail.com>
This commit is contained in:
Cassandra Watergate
2022-11-06 13:40:26 +02:00
committed by GitHub
parent 194884de1f
commit 0bf17b6dcd
5 changed files with 22 additions and 3 deletions

2
.gitignore vendored
View File

@@ -56,4 +56,6 @@ bz3less.1
bz3more.1
bz3most.1
bzip3.1

View File

@@ -24,9 +24,9 @@ else
bzip3_LDADD = libbzip3.la
endif
dist_man_MANS = bzip3.1 bz3cat.1 bz3more.1 bz3less.1 bz3grep.1 bunzip3.1
dist_man_MANS = bzip3.1 bz3cat.1 bz3more.1 bz3less.1 bz3most.1 bz3grep.1 bunzip3.1
dist_bin_SCRIPTS = bz3cat bz3more bz3less bz3grep bunzip3
dist_bin_SCRIPTS = bz3cat bz3more bz3less bz3most bz3grep bunzip3
CLEANFILES = $(bin_PROGRAMS)

2
bz3most Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
bz3cat "$@" | most

15
bz3most.1.in Normal file
View File

@@ -0,0 +1,15 @@
.TH bz3most 1 "@MAN_DATE@" "version v@VERSION@"
.
.SH "NAME"
\fBbz3most\fR \- view bzip3\-compressed files
.SH "SYNOPSIS"
\fBbz3most\fR [\fIflags\fR] [\fIfile\fR \.\.\.]
.SH "DESCRIPTION"
\fBbz3most\fR runs \fBmost(1)\fR on files or stdin,
if no files argument is given, after decompressing them
with \fBbz3cat(1)\fR\.
.SH "SEE ALSO"
\fBbzip3(1)\fR, \fBmost(1)\fR

View File

@@ -63,6 +63,6 @@ AX_SUBST_TRANSFORMED_PACKAGE_NAME
AX_SUBST_MAN_DATE
AC_CONFIG_FILES([Makefile bzip3.pc])
AC_CONFIG_FILES([bzip3.1 bz3grep.1 bz3less.1 bz3more.1])
AC_CONFIG_FILES([bzip3.1 bz3grep.1 bz3less.1 bz3more.1 bz3most.1])
AC_ARG_PROGRAM
AC_OUTPUT