![]() ![]() read-binary-files Process binary files in addition to text files. See also -force-lang, -script-lang.Ĭount lines streamed via STDIN as if they came from a file named. This option overrides internal logic for files without extensions (where such files areĬhecked against known scripting languages by examining the first line for "#!"). See alsoĬount files without extensions using the counter. ignore-case Ignore changes in case consider upper- and lowercase letters equivalent when comparing files with -diff. ignore-whitespace Ignore horizontal white space when comparing files with -diff. This option can be specified multiple times (but that is only useful force-lang="Fortran 90",fIf is omitted, every file will be counted with the counter. f90) instead of the default Fortran 77 counter, use: f files with the Fortran 90Ĭounter (which expects files to end with. Process all files that have a extension with the counter for language. follow-links Follow symbolic links to directories (sym links to files are always followed). Use -diff-alignment to generate a list showing which file pairs where compared. The inputs may be pairs of files, directories, orĪrchives. ![]() by-file-by-lang Report results for every source file encountered in addition to reporting by language.Ĭompute differences in code and comments between source file(s) of and. by-file Report results for every source file encountered. in files (as processed by GNU autoconf) of recognized languages. This causes performance to drop noticably. exclude-list-file -unicode Check binary files to see if they contain Unicode expanded ASCII text. Take the list of file and/or directory names to process from which has one file/directory name per line. Use to extract binaryĪrchive files (e.g. This option is only needed if cloc is unable to figure out how to extract the contents of the input file(s) by itself. Input Options To count standard input, use the special filename. ![]() It is written entirely in Perl, using only modules from the standard distribution. Cloc - Count, and compute differences of, lines of source code and comments.Ĭount, or compute differences of, physical lines of source code in the given files (may be archives such as compressed tarballs or zip files) and/or ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |