EnglishFrenchSpanish

OnWorks favicon

ocamlwc - Online in the Cloud

Run ocamlwc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ocamlwc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ocamlwc - count the lines of code and comments in OCaml sources

SYNOPSIS


ocamlwc [options] [files]

DESCRIPTION


ocamlwc is a program to count the number of lines of code and documentation in OCaml
sources. It assumes its input to be lexically well-formed. If no files are given, then
ocamlwc reads from stdin.

The first column of the output lists the number of source lines of code, the second column
the number of lines of documentation, and the third the respective filename. If ocamlwc
acts on more than one file, then it prints a total in the last line.

OPTIONS


-p Print percentage of documentation (in an additional column after the filename).

-c Print only the code size, i.e., omit the documentation column.

-e (everything) Do not skip headers. A header is the first comment in a file.

-a (all) Do not skip generated files. foo.ml is a generated file if one of foo.mll,
foo.mly, or foo.ml4 is amongst the given files. foo.mli is a generated file if
foo.mly is amongst the given files.

-h Print short usage information.

Use ocamlwc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

  • 1
    abicompat
    abicompat
    abicompat - check ABI compatibility
    abicompat checks that an application
    that links against a given shared
    library is still ABI compatible with a
    subsequent ve...
    Run abicompat
  • 2
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 3
    crip
    crip
    crip - a terminal-based
    ripper/encoder/tagger tool ...
    Run crip
  • 4
    crit
    crit
    crit - CRiu Image Tool ...
    Run crit
  • 5
    galleroob
    galleroob
    galleroob - browse and download web
    image galleries ...
    Run galleroob
  • 6
    gallery-uploader
    gallery-uploader
    gallery-uploader - program to upload
    pictures and video to Gallery ...
    Run gallery-uploader
  • More »

Ad