Generic shell script incorrectly recognized as 'ASP.NET'
Brought to you by:
alnd
The following file
mulander@inferno:~/github/database$ cat .config
export DBNAME=dump_pro
export SUPERUSER=postgres
is incorrectly recognized as ASP.NET
mulander@inferno:~/github/database$ cloc .config
1 text file.
1 unique file.
0 files ignored.
http://cloc.sourceforge.net v 1.60 T=0.03 s (36.1 files/s, 72.3 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
ASP.Net 1 0 0 2
-------------------------------------------------------------------------------
Tested with cloc v1.60 on Ubuntu 15.04
Anonymous
Yes, .config is currently assigned to ASP.Net. That's excessive, as .config is ubiquitous. I'll remove it from ASP.Net -- but that means unless .config begins with a #! line, such files will not be recognized as containing code.
The .config extension was removed from ASP.Net with svn commit 464.