#up #numbers #stdin #arguments #passed #txt #totals

app numcount

统计作为参数传递或从stdin传入的文件中的数字总数

1 个不稳定版本

使用旧的Rust 2015

0.1.0 2016年11月24日

#29 in #passed

MIT/Apache

2KB

numcount

逐行计算文件中的数字。

示例

test.txt

2
3
5
4

1

test2.txt


2
33
5

Shell

$ numcount test.txt
15
$ numcount test.txt test2.txt
55

无运行时依赖