Menu

#14 Need to show the Allow extensions set along with the Language in the out put

v1.62
closed
nobody
None
1
2015-06-27
2015-02-26
Anonymous
No

Hi,

""cloc test_pack.zip --read-lang-def=data.txt"" for the given command how can we customize the out put as follows. (Need to show the Allow extensions set along with the Language)


Language Allow extension files blank comment code

Thanks

Discussion

  • Al Danial

    Al Danial - 2015-02-26
    • status: open --> pending
     
  • Al Danial

    Al Danial - 2015-02-26

    There's no simple way to get the output format you describe. You'll have to write your own utility to take the output of 'cloc --show-lang' and replace the language name from the cloc output from 'cloc test_pack.zip' with the Language + extension combination.

    Also, you probably already know this, but several languages use the same extension. For example .m is used by Objective C, MATLAB, and MUMPS.

     
  • Al Danial

    Al Danial - 2015-06-27
    • status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel