mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-06 06:43:51 +00:00
Add lrzcat symlink which automatically decompresses to stdout.
Revert automatic compression/decompression to stdout when not outputting to a tty, to be consistent with gzip.
This commit is contained in:
parent
d80f220c72
commit
d033743e6f
10 changed files with 145 additions and 25 deletions
|
|
@ -1,16 +1,19 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in lrunzip.1 lrztar.1 lrzuntar.1
|
||||
|
||||
man1_MANS = lrzip.1 lrunzip.1 lrztar.1 lrzuntar.1
|
||||
man1_MANS = lrzip.1 lrunzip.1 lrzcat.1 lrztar.1 lrzuntar.1
|
||||
man5_MANS = lrzip.conf.5
|
||||
|
||||
BUILT_SOURCES = lrunzip.1 lrztar.1 lrzuntar.1
|
||||
BUILT_SOURCES = lrunzip.1 lrzcat.1 lrztar.1 lrzuntar.1
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
EXTRA_DIST = lrzip.1 lrunzip.1.pod lrztar.1.pod lrzuntar.1.pod $(man5_MANS)
|
||||
EXTRA_DIST = lrzip.1 lrunzip.1.pod lrzcat.1.pod lrztar.1.pod lrzuntar.1.pod $(man5_MANS)
|
||||
|
||||
lrunzip.1: lrunzip.1.pod
|
||||
pod2man $< $@
|
||||
|
||||
lrzcat.1: lrzcat.1.pod
|
||||
pod2man $< $@
|
||||
|
||||
lrztar.1: lrztar.1.pod
|
||||
pod2man $< $@
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright
|
||||
#
|
||||
# Copyright (C) 2010 Con Kolivas
|
||||
# Copyright (C) 2010-2011 Con Kolivas
|
||||
# Copyright (C) 2009-2009 Jari Aalto
|
||||
#
|
||||
# License
|
||||
|
|
@ -65,21 +65,23 @@ None.
|
|||
|
||||
=head1 SEE ALSO
|
||||
|
||||
lrzip.conf(5),
|
||||
lrzip(1),
|
||||
lrzcat(1),
|
||||
lrztar(1),
|
||||
lrzuntar(1),
|
||||
bzip2(1),
|
||||
gzip(1),
|
||||
lzop(1),
|
||||
lrzip(1),
|
||||
rzip(1),
|
||||
zip(1)
|
||||
lrztar(1),
|
||||
lrzip.conf(5)
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
Program was written by Con Kolivas.
|
||||
|
||||
This manual page was written by Jari Aalto <jari.aalto@cante.net> (but
|
||||
may be used by others). Released under license GNU GPL version 2or (at
|
||||
may be used by others). Released under license GNU GPL version 2 or (at
|
||||
your option) any later version. For more information about license,
|
||||
visit <http://www.gnu.org/copyleft/gpl.html>.
|
||||
|
||||
|
|
|
|||
85
man/lrzcat.1.pod
Normal file
85
man/lrzcat.1.pod
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
# Copyright
|
||||
#
|
||||
# Copyright (C) 2011 Con Kolivas
|
||||
#
|
||||
# License
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Description
|
||||
#
|
||||
# To learn what TOP LEVEL section to use in manual pages,
|
||||
# see POSIX/Susv standard and "tility Description Defaults" at
|
||||
# http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html#tag_01_11
|
||||
#
|
||||
# This is manual page in Perl POD format. Read more at
|
||||
# http://perldoc.perl.org/perlpod.html or run command:
|
||||
#
|
||||
# perldoc perlpod | less
|
||||
#
|
||||
# To check the syntax:
|
||||
#
|
||||
# podchecker *.pod
|
||||
#
|
||||
# Create manual page with command:
|
||||
#
|
||||
# pod2man PAGE.N.pod > PAGE.N
|
||||
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
||||
lrzcat - Uncompress LRZ files to STDOUT
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
lrzcat [options] FILE [... FILE]
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
lrzcat is identical to C<lrzip -d -o -> used to decompress files to STDOUT.
|
||||
|
||||
=head1 OPTIONS
|
||||
|
||||
See lrzip(1).
|
||||
|
||||
=head1 ENVIRONMENT
|
||||
|
||||
None.
|
||||
|
||||
=head1 FILES
|
||||
|
||||
None.
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
lrzip.conf(5),
|
||||
lrzip(1),
|
||||
lrunzip(1),
|
||||
lrztar(1),
|
||||
lrzuntar(1),
|
||||
bzip2(1),
|
||||
gzip(1),
|
||||
lzop(1),
|
||||
rzip(1),
|
||||
zip(1)
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
This manual page was written by Con Kolivas <kernel@kolivas.org> (but
|
||||
may be used by others). Released under license GNU GPL version 2 or (at
|
||||
your option) any later version. For more information about license,
|
||||
visit <http://www.gnu.org/copyleft/gpl.html>.
|
||||
|
||||
=cut
|
||||
14
man/lrzip.1
14
man/lrzip.1
|
|
@ -1,4 +1,4 @@
|
|||
.TH "lrzip" "1" "February 2011" "" ""
|
||||
.TH "lrzip" "1" "May 2011" "" ""
|
||||
.SH "NAME"
|
||||
lrzip \- a large-file compression program
|
||||
.SH "SYNOPSIS"
|
||||
|
|
@ -9,6 +9,8 @@ lrzip \-d [OPTIONS] <file>
|
|||
.br
|
||||
lrunzip [OPTIONS] <file>
|
||||
.br
|
||||
lrzcat [OPTIONS] <file>
|
||||
.br
|
||||
lrztar [lrzip options] <directory>
|
||||
.br
|
||||
lrztar \-d [lrzip options] <directory>
|
||||
|
|
@ -91,7 +93,8 @@ written is the same as the original archived.
|
|||
.IP "\fB-d\fP"
|
||||
Decompress. If this option is not used then lrzip looks at
|
||||
the name used to launch the program. If it contains the string
|
||||
"lrunzip" then the \-d option is automatically set.
|
||||
"lrunzip" then the \-d option is automatically set. If it contains the string
|
||||
"lrzcat" then the \-d \-o \- options are automatically set.
|
||||
.IP
|
||||
.IP "\fB-e\fP"
|
||||
Encrypt. This option enables high grade password encryption using a combination
|
||||
|
|
@ -322,14 +325,15 @@ Nil known.
|
|||
.PP
|
||||
.SH "SEE ALSO"
|
||||
lrzip.conf(5),
|
||||
lrunzip(1),
|
||||
lrzcat(1),
|
||||
lrztar(1),
|
||||
lrzuntar(1),
|
||||
bzip2(1),
|
||||
gzip(1),
|
||||
lzop(1),
|
||||
lrzip(1),
|
||||
rzip(1),
|
||||
zip(1)
|
||||
lrztar(1),
|
||||
lrzuntar(1)
|
||||
|
||||
.PP
|
||||
.SH "AUTHOR and CREDITS"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright
|
||||
#
|
||||
# Copyright (C) 2010 Con Kolivas
|
||||
# Copyright (C) 2010-2011 Con Kolivas
|
||||
# Copyright (C) 2009-2010 Jari Aalto
|
||||
#
|
||||
# License
|
||||
|
|
@ -69,20 +69,23 @@ None.
|
|||
|
||||
=head1 SEE ALSO
|
||||
|
||||
lrzip.conf(5),
|
||||
lrzuntar(1),
|
||||
lrzip(1),
|
||||
lrunzip(1),
|
||||
lrzcat(1),
|
||||
bzip2(1),
|
||||
gzip(1),
|
||||
lzop(1),
|
||||
lrzip(1),
|
||||
rzip(1),
|
||||
zip(1),
|
||||
lrzip.conf(5)
|
||||
zip(1)
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
Program was written by Con Kolivas.
|
||||
|
||||
This manual page was written by Jari Aalto <jari.aalto@cante.net> (but
|
||||
may be used by others). Released under license GNU GPL version 2or (at
|
||||
may be used by others). Released under license GNU GPL version 2 or (at
|
||||
your option) any later version. For more information about license,
|
||||
visit <http://www.gnu.org/copyleft/gpl.html>.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright
|
||||
#
|
||||
# Copyright (C) 2010 Con Kolivas
|
||||
# Copyright (C) 2010-2011 Con Kolivas
|
||||
#
|
||||
# License
|
||||
#
|
||||
|
|
@ -47,17 +47,22 @@ None.
|
|||
|
||||
=head1 SEE ALSO
|
||||
|
||||
lrzip.conf(5),
|
||||
lrztar(1),
|
||||
lrzip(1),
|
||||
lrunzip(1),
|
||||
lrzcat(1),
|
||||
bzip2(1),
|
||||
gzip(1),
|
||||
lzop(1),
|
||||
lrzip(1),
|
||||
rzip(1),
|
||||
zip(1),
|
||||
lrzip.conf(5)
|
||||
zip(1)
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
Con Kolivas.
|
||||
This manual page was written by Con Kolivas <kernel@kolivas.org> (but
|
||||
may be used by others). Released under license GNU GPL version 2 or (at
|
||||
your option) any later version. For more information about license,
|
||||
visit <http://www.gnu.org/copyleft/gpl.html>.
|
||||
|
||||
=cut
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue