terry3 / cnt_lines

Count file lines in python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cnt_lines

Count file lines in python.

Overview

cnt_lines is a tool for count file lines with a focus on easily usage.

Usage

Start with

python cnt_lines.py [some_dir] [wildcard_suffix]
  • some_dir:directory you want to count lines.
  • wildcard_suffix:dot suffix files you want to count lines.

Example for c style

python cnt_lines.py ./ *.c *.h

Configuration file

cnt_lines also could have a configuration file names cntl_ign.conf.It likes the .gitignore int git.

Check the cntl_ign.conf in repository for details.

Screenshot

_terry3 (tfguo369@gmail.com)

About

Count file lines in python.

License:GNU General Public License v2.0


Languages

Language:Python 100.0%