← every case · 1000 · comments
Batch opens a comment with the word REM, and REMOVE is a different word. A counter that looks for those three letters as a substring reads a command as a comment
| 1 | commentscommentscommentscommentscommentscommentscomments | REM a comment |
| 2 | codecodecodecodecodecodecode | REMOVE /Q file.txt |
| 3 | codecodecodecodecodecodecode | echo done |
stringcommentthe tag around another language
a line whose first word begins with REM is taken as a comment whatever letters follow, so the command counts as one
cloc --json --config /tmp/linejudge-empty-file cases/1000-comments/1230-a_comment_word_at_the_head_of_a_longer_word/input.bat
--strip-str-comments
a line whose first word begins with REM is taken as a comment whatever letters follow, so the command counts as one
cloc --json --config /tmp/linejudge-empty-file cases/1000-comments/1230-a_comment_word_at_the_head_of_a_longer_word/input.bat --strip-str-comments
a line whose first word begins with REM is taken as a comment whatever letters follow, so the command counts as one
cloc --json --config /tmp/linejudge-empty-file cases/1000-comments/1230-a_comment_word_at_the_head_of_a_longer_word/input.bat --docstring-as-code
codestats cases/1000-comments/1230-a_comment_word_at_the_head_of_a_longer_word/input.bat --output json-compact --include-generated --no-gitignore --hidden --no-config
mezura cases/1000-comments/1230-a_comment_word_at_the_head_of_a_longer_word/input.bat --output json --hide timing --no-default-config --no-local --counting content
mezura cases/1000-comments/1230-a_comment_word_at_the_head_of_a_longer_word/input.bat --output json --hide timing --no-default-config --no-local --counting region
scc --format json --no-config cases/1000-comments/1230-a_comment_word_at_the_head_of_a_longer_word/input.bat
a line whose first word begins with REM is taken as a comment whatever letters follow, so the command counts as one
tokei --output json cases/1000-comments/1230-a_comment_word_at_the_head_of_a_longer_word/input.bat