ocamlwc

count the lines of code and comments in OCaml sources

Install

All systems
curl cmd.cat/ocamlwc.sh
Debian Debian
apt-get install ocamlwc
Ubuntu
apt-get install ocamlwc
image/svg+xml Kali Linux
apt-get install ocamlwc
Windows (WSL2)
sudo apt-get update sudo apt-get install ocamlwc
Raspbian
apt-get install ocamlwc

ocamlwc

count the lines of code and comments in OCaml sources

ocamlwc is a program to count the number of lines of code and documentation in OCaml sources. It assumes the files to be lexically well-formed.