i am trying to run "cloc-1.55.exe --by-file-by-lang --exclude-
dir=target,.settings,main\java,sfx --not-match-f=(.TO.java|pom.xml) --read-
lang-def=C:\dev\stuff\CLOC\lang-def.txt C:\dev\src\life\lusv\ui" on windows
but get below error
'pom.xml)' is not recognized as an internal or external command,
operable program or batch file.
i want to exlude those file types --not-match-f=(.TO.java|pom.xml) in my
counting but CLOC will not not accept the grouping
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need to wrap your regex in double quotes, otherwise Windows will interpret
your line as multiple commands.
Use, for example,
--not-match-f="(.TO.java|pom.xml)"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i am trying to run "cloc-1.55.exe --by-file-by-lang --exclude-
dir=target,.settings,main\java,sfx --not-match-f=(.TO.java|pom.xml) --read-
lang-def=C:\dev\stuff\CLOC\lang-def.txt C:\dev\src\life\lusv\ui" on windows
but get below error
'pom.xml)' is not recognized as an internal or external command,
operable program or batch file.
i want to exlude those file types --not-match-f=(.TO.java|pom.xml) in my
counting but CLOC will not not accept the grouping
You need to wrap your regex in double quotes, otherwise Windows will interpret
your line as multiple commands.
Use, for example,
--not-match-f="(.TO.java|pom.xml)"
Nice ... thank you!