GENERIC_COUNT(1)

πŸ’– GENERIC_COUNT(1) Β· generic_count πŸ’–

okay bestie, the manual name here is generic_count and it's giving tiny-but-mighty energy 🧚


✨ NAME ✨

generic_count β€” count physical lines of code, given a comment marker πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

generic_count commentstart [ --f file ] files...

🌸 DESCRIPTION 🌸

ngl this is a trivial/naive program (no shame, it knows what it is πŸ™ˆ), and it exists to power the scripts in the sloccount toolsuite. This manpage is the one for ALL of those scripts, the ones that use generic_count. Currently that's ada_count, awk_count, csh_count, erlang_count, exp_count, lisp_count, makefile_count, ruby_count, sed_count, sh_count, and tcl_count πŸ’œ

πŸ¦‹ OPTIONS πŸ¦‹

  • commentstart β€” the string that starts a comment, which keeps going until the end of the line ✨
  • -f file β€” a file holding a list of files to count. If you pass -, it reads that list from stdin instead 🫢 It can totally coexist with a list of files on the command line too.

πŸ‘‘ SEE ALSO πŸ‘‘

See sloccount(1) for additional details about the SLOCCount suite πŸ“

🌈 AUTHOR 🌈

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


Source: generic_count Β· dated 23 March 2008 Β· GENERIC_COUNT(1) πŸ¦‹ bye bestie, stay iconic πŸ’–