https://github.com/bfontaine/iwc
Interactive wc(1)
https://github.com/bfontaine/iwc
c cli tool
Last synced: 3 months ago
JSON representation
Interactive wc(1)
- Host: GitHub
- URL: https://github.com/bfontaine/iwc
- Owner: bfontaine
- License: mit
- Created: 2015-02-14T23:31:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-10T10:13:33.000Z (over 1 year ago)
- Last Synced: 2025-04-15T03:14:19.044Z (3 months ago)
- Topics: c, cli, tool
- Language: C
- Homepage: https://bfontaine.github.io/iwc/
- Size: 117 KB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# iwc(1)
[](https://travis-ci.org/bfontaine/iwc)
`iwc(1)` is an interactive `wc(1)`. It mostly works like the original `wc` but prints the lines number as it counts them
instead of waiting for the end to print it.
## Install
### With Homebrew
brew install bfontaine/utils/iwc
### From source
git clone https://github.com/bfontaine/iwc.git && cd iwc
git checkout v0.1.3 # last stable version
[sudo] make install## Usage
$ iwc myfile.txt
See [the man page][man] for all available options.
[man]: https://bfontaine.github.io/iwc
### Examples
You can combine `iwc` with `tail -f` to follow the number of lines in a file
that’s constantly growing (like logs):$ tail -f -n +1 your_file | iwc -l
## License
[MIT](https://github.com/bfontaine/iwc/blob/master/LICENSE)