Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bfontaine/iwc
Interactive wc(1)
https://github.com/bfontaine/iwc
c cli tool
Last synced: 2 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-10T10:13:33.000Z (over 1 year ago)
- Last Synced: 2024-12-08T21:03:19.863Z (2 months ago)
- Topics: c, cli, tool
- Language: C
- Homepage: https://bfontaine.github.io/iwc/
- Size: 117 KB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# iwc(1)
[![Build Status](https://travis-ci.org/bfontaine/iwc.svg?branch=master)](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.![](https://github.com/bfontaine/iwc/raw/master/imgs/iwc.gif)
## 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)