diff --git a/.gitignore b/.gitignore index 6b7c626..ccccd80 100644 --- a/.gitignore +++ b/.gitignore @@ -56,4 +56,6 @@ bz3less.1 bz3more.1 +bz3most.1 + bzip3.1 diff --git a/Makefile.am b/Makefile.am index 506ae8f..164136d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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) diff --git a/bz3most b/bz3most new file mode 100644 index 0000000..719412b --- /dev/null +++ b/bz3most @@ -0,0 +1,2 @@ +#!/bin/sh +bz3cat "$@" | most diff --git a/bz3most.1.in b/bz3most.1.in new file mode 100644 index 0000000..6257a82 --- /dev/null +++ b/bz3most.1.in @@ -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 diff --git a/configure.ac b/configure.ac index 15fc864..5737355 100644 --- a/configure.ac +++ b/configure.ac @@ -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