wc - pure Python implementation of classic Unix word count utility.
As part of my ongoing Python Power Tools project (a pale imitation of Perl Power Tools), I have implemented a pure Python wc.
This supports a -files0 option, so you can pipe wc.py the output of any program that produces filenames separated by null characters. For example, find and ack, when using the -print0 output option.
No comments:
Post a Comment