lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


L-28C wrote:
Does anyone know of a Lua line counter? Like, I'm the clean-code-paranoid type coder, so I have comments & whitespace everywhere... I'd like a program that'll count all non-comment lines. Where can I find that? Thanks! ;-)

Looks like a trivial script to write.
Or use sed (or grep?) piped to wc.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --