https://github.com/vaeth/bzwc
A POSIX shell wrapper for "wc" supporting compressed files (.xz .lzma .bz2 .gz)
https://github.com/vaeth/bzwc
brotli bzip2 compression posix shell wc wrapper zstd
Last synced: about 1 year ago
JSON representation
A POSIX shell wrapper for "wc" supporting compressed files (.xz .lzma .bz2 .gz)
- Host: GitHub
- URL: https://github.com/vaeth/bzwc
- Owner: vaeth
- Created: 2012-01-29T20:26:09.000Z (over 14 years ago)
- Default Branch: main
- Last Pushed: 2021-06-13T11:04:43.000Z (almost 5 years ago)
- Last Synced: 2025-01-31T17:08:12.636Z (over 1 year ago)
- Topics: brotli, bzip2, compression, posix, shell, wc, wrapper, zstd
- Language: Shell
- Homepage: http://www.mathematik.uni-wuerzburg.de/~vaeth/download/index.html#bzwc
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bzwc
(C) Martin Väth
This project is under the BSD license 2.0 (“3-clause BSD license”).
SPDX-License-Identifier: BSD-3-Clause
A POSIX shell wrapper for `wc` supporting compressed files
- `.xz`
- `.lzma`
- `.br`
- `.bz2`
- `.zst`
- `.gz`
All options of `wc` can be used, and as for usual `wc`,
it is possible to pass several files as arguments.
For standard input, the name of the command
- `xzwc`
- `lzwc`
- `brwc`
- `bzwc`
- `zstdwc`
- `zwc
determines which type of compressed data is assumed.
### Requirement
You need `push.sh` from https://github.com/vaeth/push (v2.0 or newer)
in your `$PATH`.
### Installation
For installation, copy the content of `bin/` with executable permission
in your `$PATH`. To obtain support for __zsh completion, you can copy the
content of `zsh/` to a directory of your zsh's `$fpath`.
For Gentoo, there is an ebuild in the mv overlay (available over layman).