correalm / lc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lc is a simple line counter


How build

build the objects

gcc -c explorer.c -o explorer.o
gcc -c lc.c -o lc.o

build the programm

gcc explorer.o lc.o -o lc

How use

If you call ./lc with no arguments this use the current path, count lines on each file (.git folder and executables are excluded from counting). You can pass a custom path to start explorer. Exemple:

./lc ./foo

This tell to the program to start explore from foo directory.

About


Languages

Language:C 93.0%Language:JavaScript 7.0%