← every case · 4000 · a quote that opens nothing
a backslash before an apostrophe in unquoted shell text, which is how one writes an apostrophe without quoting it. The backslash escapes here and inside double quotes, and is an ordinary character inside single ones
| 1 | codecodecodecodecode | echo I\'m done |
| 2 | commentscommentscommentscommentscomments | # a real comment |
| 3 | commentscommentscommentscommentscomments | # a second real comment |
| 4 | codecodecodecodecode | x=1 |
stringcommentthe tag around another language
cloc --json cases/4000-a_quote_that_opens_nothing/4040-escaped_apostrophe_outside_quotes/input.sh
mezura cases/4000-a_quote_that_opens_nothing/4040-escaped_apostrophe_outside_quotes/input.sh --output json --hide timing --counting content
mezura cases/4000-a_quote_that_opens_nothing/4040-escaped_apostrophe_outside_quotes/input.sh --output json --hide timing --counting region
scc --format json cases/4000-a_quote_that_opens_nothing/4040-escaped_apostrophe_outside_quotes/input.sh
tokei --output json cases/4000-a_quote_that_opens_nothing/4040-escaped_apostrophe_outside_quotes/input.sh