0.2.5 • Published 8 years ago
@timdp/lwc v0.2.5
lwc
A live-updating version of the UNIX wc command.

DEPRECATED
This Node.js-based version of lwc is no longer being maintained. Please
consider using the Go version, which has more
features.
Installation
With npm:
npm install --global @timdp/lwcWith Yarn:
yarn global add @timdp/lwcUsage
lwc [OPTION]...Without any options, lwc will count the number of lines, words, and bytes
in standard input, and write them to standard output. Contrary to wc, it will
also update standard output while it is still counting.
The following wc options are
currently supported:
--linesor-l--wordsor-w--charsor-m--bytesor-c
Examples
Count the number of lines in a big file:
lwc --lines < big-fileRun a slow command and count the number of bytes logged:
slow-command | lwc --bytesTODO
- Accept file paths in addition to stdin
- Support
--help - Support
--max-line-length - Support
--files0-from - Add tests
Author
License
MIT