tail head cat sleep
QR code linking to this page

Manual Pages  — BSDCAT

NAME

bsdcat – expand files to standard output

CONTENTS

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)

BSDCAT (1) March 1, 2014

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

This philosophy, in the hands of amateurs, leads to inexplicably mind-numbing botches like the existence of two programs, “head” and “tail,” which print the first part or the last part of a file, depending. Even though their operations are duals of one another, “head” and “tail” are different programs, written by different authors, and take different options!
— The Unix Haters' handbook