Need to show the Allow extensions set along with the Language in the out put
Brought to you by:
alnd
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)
Thanks
Anonymous
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.