cloc
cloc copied to clipboard
Version 1.88 Not counter file format name
DiemLOC.zip I using windown, when counter cloc-1.87 vs cloc-1.88 then different results
You can support me, tks
Do you have the Perl source code for cloc-1.87.exe? Or tell me the date when it was created? The issue has to do with how the contents of FileCounter20201023142441.txt are interpreted based on the terminal's language setting.
cloc187.zip I send source code V1.87.
with V.1.87: when counter file/Diff then result Path file the same but V.188 path file rename lowercase D:\Baseloc\Test 188\UP0PB.sql -> D:\baseloc\test 188\up0pb.sql This could be due to the fix issue 501 and 521 https://github.com/AlDanial/cloc/issues/501
Try this: create a new list file based on what cloc thinks the file names are. This command creates listfile.txt which will have the files cloc sees in the folder File:
cloc --found listfile.txt File
Next, use this file instead of FileCounter20201023142441.txt:
cloc --by-file --list-file found.txt
Loc.txt
I try create file but the Result is the same

Here's what I get (Windows 10, US terminal setup)

Reference Shift -jis https://stackoverflow.com/questions/5521737/shift-jis-decoding-encoding-in-perl