1BSDCAT(1) BSD General Commands Manual BSDCAT(1)
2
4 bsdcat — expand files to standard output
5
7 bsdcat [options] [files]
8
10 bsdcat expands files to standard output.
11
13 bsdcat typically takes a filename as an argument or reads standard input
14 when used in a pipe. In both cases decompressed data it written to stan‐
15 dard output.
16
18 To decompress a file:
19
20 bsdcat example.txt.gz > example.txt
21
22 To decompress standard input in a pipe:
23
24 cat example.txt.gz | bsdcat > example.txt
25
26 Both examples achieve the same results - a decompressed file by redirect‐
27 ing output.
28
30 bzcat(1), uncompress(1), xzcat(1), zcat(1), libarchive-formats(5)
31
32BSD March 1, 2014 BSD