Copyright (c) 2011-2014, Mike Kazantsev All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/...
NAMEbsdcat - expand files to standard output
DESCRIPTIONexpands files to standard output.
OPTIONStypically takes a filename as an argument or reads standard input when used in a pipe. In both cases decompressed data it written to standard output.
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.