---
name: "lex_count"
section: "1"
platform: "linux"
package: "sloccount"
version: "2.26+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/X_count"
---

# lex\_count(1)

count physical lines of code, in each input file

Part of [X\_count(1)](/X_count/1.md).

## NAME

\*\_count - count physical lines of code, in each input file

## SYNOPSIS

**\*\_count** \[ **--f** *file* \] *files...*

## DESCRIPTION

This is a generic manpage, written for the helper program for SLOCCount toolsuite. It currently applies to: **asm\_count,** **c\_count,** **cobol\_count,** **f90\_count,** **fortran\_count,** **haskell\_count,** **lex\_count,** **ml\_count,** **modula3\_count,** **objc\_count,** **perl\_count,** **python\_count** )

## OPTIONS

- **-f** *file*

  File with a list of files to count (if "-", read list from stdin). It can coexist with a list of files on command line.

## SEE ALSO

See [sloccount(1)](/sloccount/1.md) for additional details about SLOCCount suite.

## AUTHOR

This manual page was written by Sandro Tosi \<matrixhasu@gmail.com\>, for the Debian project (but may be used by others)
