bsdcat.1 832 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .\"
  2. .\" SPDX-License-Identifier: BSD-2-Clause
  3. .\"
  4. .\" Copyright (c) 2011-2014, Mike Kazantsev
  5. .\" All rights reserved.
  6. .\"
  7. .Dd March 1, 2014
  8. .Dt BSDCAT 1
  9. .Os
  10. .Sh NAME
  11. .Nm bsdcat
  12. .Nd expand files to standard output
  13. .Sh SYNOPSIS
  14. .Nm
  15. .Op options
  16. .Op files
  17. .Sh DESCRIPTION
  18. .Nm
  19. expands files to standard output.
  20. .Sh OPTIONS
  21. .Nm
  22. typically takes a filename as an argument or reads standard input when used in a
  23. pipe.
  24. In both cases decompressed data is written to standard output.
  25. .Sh EXAMPLES
  26. To decompress a file:
  27. .Pp
  28. .Dl bsdcat example.txt.gz > example.txt
  29. .Pp
  30. To decompress standard input in a pipe:
  31. .Pp
  32. .Dl cat example.txt.gz | bsdcat > example.txt
  33. .Pp
  34. Both examples achieve the same results - a decompressed file by redirecting
  35. output.
  36. .Sh SEE ALSO
  37. .Xr bzcat 1 ,
  38. .Xr uncompress 1 ,
  39. .Xr xzcat 1 ,
  40. .Xr zcat 1 ,
  41. .Xr libarchive-formats 5