'count' command
| Project: | JNode FS |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Implement a command which counts various features (like the number of lines, words etc) in the input stream or intput file(s). It could have similar features to the unix command 'wc' but adapted to JNode.

#1
I have implementation of wc in java. It works fast (about 90% of original wc performance). I think it's possible to port it for jnode. If required, i can send it.
#2
That will be great!
#3
Here it is. Please note, that it is not JNode shell command, it's standalone java application.
This source was written one or two years ago.. it's work, but i saw that it possible has bug for option -L (same option in wc that shows length of longest line). Other options works fine.