|
Packit Service |
1d0348 |
.\" Copyright (c) 2011-2014, Mike Kazantsev
|
|
Packit Service |
1d0348 |
.\" All rights reserved.
|
|
Packit Service |
1d0348 |
.\"
|
|
Packit Service |
1d0348 |
.\" Redistribution and use in source and binary forms, with or without
|
|
Packit Service |
1d0348 |
.\" modification, are permitted provided that the following conditions
|
|
Packit Service |
1d0348 |
.\" are met:
|
|
Packit Service |
1d0348 |
.\" 1. Redistributions of source code must retain the above copyright
|
|
Packit Service |
1d0348 |
.\" notice, this list of conditions and the following disclaimer.
|
|
Packit Service |
1d0348 |
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
Packit Service |
1d0348 |
.\" notice, this list of conditions and the following disclaimer in the
|
|
Packit Service |
1d0348 |
.\" documentation and/or other materials provided with the distribution.
|
|
Packit Service |
1d0348 |
.\"
|
|
Packit Service |
1d0348 |
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
Packit Service |
1d0348 |
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
Packit Service |
1d0348 |
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
Packit Service |
1d0348 |
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
Packit Service |
1d0348 |
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
Packit Service |
1d0348 |
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
Packit Service |
1d0348 |
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
Packit Service |
1d0348 |
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
Packit Service |
1d0348 |
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
Packit Service |
1d0348 |
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
Packit Service |
1d0348 |
.\" SUCH DAMAGE.
|
|
Packit Service |
1d0348 |
.\"
|
|
Packit Service |
1d0348 |
.\" $FreeBSD$
|
|
Packit Service |
1d0348 |
.\"
|
|
Packit Service |
1d0348 |
.Dd March 1, 2014
|
|
Packit Service |
1d0348 |
.Dt BSDCAT 1
|
|
Packit Service |
1d0348 |
.Os
|
|
Packit Service |
1d0348 |
.Sh NAME
|
|
Packit Service |
1d0348 |
.Nm bsdcat
|
|
Packit Service |
1d0348 |
.Nd expand files to standard output
|
|
Packit Service |
1d0348 |
.Sh SYNOPSIS
|
|
Packit Service |
1d0348 |
.Nm
|
|
Packit Service |
1d0348 |
.Op options
|
|
Packit Service |
1d0348 |
.Op files
|
|
Packit Service |
1d0348 |
.Pp
|
|
Packit Service |
1d0348 |
.Sh DESCRIPTION
|
|
Packit Service |
1d0348 |
.Nm
|
|
Packit Service |
1d0348 |
expands files to standard output.
|
|
Packit Service |
1d0348 |
.Sh OPTIONS
|
|
Packit Service |
1d0348 |
.Nm
|
|
Packit Service |
1d0348 |
typically takes a filename as an argument or reads standard input when used in a
|
|
Packit Service |
1d0348 |
pipe. In both cases decompressed data it written to standard output.
|
|
Packit Service |
1d0348 |
.Sh EXAMPLES
|
|
Packit Service |
1d0348 |
.Pp
|
|
Packit Service |
1d0348 |
To decompress a file:
|
|
Packit Service |
1d0348 |
.Pp
|
|
Packit Service |
1d0348 |
.Dl bsdcat example.txt.gz > example.txt
|
|
Packit Service |
1d0348 |
.Pp
|
|
Packit Service |
1d0348 |
To decompress standard input in a pipe:
|
|
Packit Service |
1d0348 |
.Pp
|
|
Packit Service |
1d0348 |
.Dl cat example.txt.gz | bsdcat > example.txt
|
|
Packit Service |
1d0348 |
.Pp
|
|
Packit Service |
1d0348 |
Both examples achieve the same results - a decompressed file by redirecting
|
|
Packit Service |
1d0348 |
output.
|
|
Packit Service |
1d0348 |
.Sh SEE ALSO
|
|
Packit Service |
1d0348 |
.Xr uncompress 1 ,
|
|
Packit Service |
1d0348 |
.Xr zcat 1 ,
|
|
Packit Service |
1d0348 |
.Xr bzcat 1 ,
|
|
Packit Service |
1d0348 |
.Xr xzcat 1 ,
|
|
Packit Service |
1d0348 |
.Xr libarchive-formats 5 ,
|