You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've read #465 and this is different, but still about pipes, though.
Give a concise description of what you want cloc to be able to do.
cat My.java | sed '/\w*}\w*/d' | cloc --src-file-from-pip
In this situation I'm trying to make a claim to readers that only have so many consequential lines of code. The source is in the end-of-line-bracing style and I don't care to count } on a line on their own. Sed can remove those for me (the source would not longer compile) and it'd be great if cloc could still do the stats. Workaround is to make a temp file.
The text was updated successfully, but these errors were encountered:
Rather than supporting source code piped into cloc, my plan is to implement "ignore" filters such as requested in #862 . I'll keep this open until I implement that.
I've read #465 and this is different, but still about pipes, though.
Give a concise description of what you want cloc to be able to do.
In this situation I'm trying to make a claim to readers that only have so many consequential lines of code. The source is in the end-of-line-bracing style and I don't care to count } on a line on their own. Sed can remove those for me (the source would not longer compile) and it'd be great if
cloc
could still do the stats. Workaround is to make a temp file.The text was updated successfully, but these errors were encountered: