bsdcat - Man Page
expand files to standard output
Synopsis
bsdcat | [options] [files] |
Description
bsdcat expands files to standard output.
Options
bsdcat typically takes a filename as an argument or reads standard input when used in a pipe. In both cases decompressed data is written to standard output.
Examples
To decompress a file:
bsdcat example.txt.gz > example.txt
To decompress standard input in a pipe:
cat example.txt.gz | bsdcat > example.txt
Both examples achieve the same results - a decompressed file by redirecting output.
See Also
bzcat(1), uncompress(1), xzcat(1), zcat(1), libarchive-formats(5)
Info
March 1, 2014