16b384f39SPeter Avalos.\" Copyright (c) 2011-2014, Mike Kazantsev 26b384f39SPeter Avalos.\" All rights reserved. 36b384f39SPeter Avalos.\" 46b384f39SPeter Avalos.\" Redistribution and use in source and binary forms, with or without 56b384f39SPeter Avalos.\" modification, are permitted provided that the following conditions 66b384f39SPeter Avalos.\" are met: 76b384f39SPeter Avalos.\" 1. Redistributions of source code must retain the above copyright 86b384f39SPeter Avalos.\" notice, this list of conditions and the following disclaimer. 96b384f39SPeter Avalos.\" 2. Redistributions in binary form must reproduce the above copyright 106b384f39SPeter Avalos.\" notice, this list of conditions and the following disclaimer in the 116b384f39SPeter Avalos.\" documentation and/or other materials provided with the distribution. 126b384f39SPeter Avalos.\" 136b384f39SPeter Avalos.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 146b384f39SPeter Avalos.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 156b384f39SPeter Avalos.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 166b384f39SPeter Avalos.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 176b384f39SPeter Avalos.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 186b384f39SPeter Avalos.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 196b384f39SPeter Avalos.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 206b384f39SPeter Avalos.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 216b384f39SPeter Avalos.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 226b384f39SPeter Avalos.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 236b384f39SPeter Avalos.\" SUCH DAMAGE. 246b384f39SPeter Avalos.\" 256b384f39SPeter Avalos.\" $FreeBSD$ 266b384f39SPeter Avalos.\" 276b384f39SPeter Avalos.Dd March 1, 2014 286b384f39SPeter Avalos.Dt BSDCAT 1 296b384f39SPeter Avalos.Os 306b384f39SPeter Avalos.Sh NAME 316b384f39SPeter Avalos.Nm bsdcat 326b384f39SPeter Avalos.Nd expand files to standard output 336b384f39SPeter Avalos.Sh SYNOPSIS 346b384f39SPeter Avalos.Nm 356b384f39SPeter Avalos.Op options 366b384f39SPeter Avalos.Op files 376b384f39SPeter Avalos.Sh DESCRIPTION 386b384f39SPeter Avalos.Nm 396b384f39SPeter Avalosexpands files to standard output. 406b384f39SPeter Avalos.Sh OPTIONS 416b384f39SPeter Avalos.Nm 426b384f39SPeter Avalostypically takes a filename as an argument or reads standard input when used in a 43*085658deSDaniel Fojtpipe. 44*085658deSDaniel FojtIn both cases decompressed data it written to standard output. 456b384f39SPeter Avalos.Sh EXAMPLES 466b384f39SPeter AvalosTo decompress a file: 476b384f39SPeter Avalos.Pp 486b384f39SPeter Avalos.Dl bsdcat example.txt.gz > example.txt 496b384f39SPeter Avalos.Pp 506b384f39SPeter AvalosTo decompress standard input in a pipe: 516b384f39SPeter Avalos.Pp 526b384f39SPeter Avalos.Dl cat example.txt.gz | bsdcat > example.txt 536b384f39SPeter Avalos.Pp 546b384f39SPeter AvalosBoth examples achieve the same results - a decompressed file by redirecting 556b384f39SPeter Avalosoutput. 566b384f39SPeter Avalos.Sh SEE ALSO 576b384f39SPeter Avalos.Xr bzcat 1 , 58*085658deSDaniel Fojt.Xr uncompress 1 , 596b384f39SPeter Avalos.Xr xzcat 1 , 60*085658deSDaniel Fojt.Xr zcat 1 , 61*085658deSDaniel Fojt.Xr libarchive-formats 5 62