Comments (8)
Oh, the issue would be because you are specifying the file. If you remove cmscgats.c
from your argument it should work. EG.
$ wget https://raw.githubusercontent.com/corretto/corretto-8/da7e192d1f7a73340cb1ec9b2f08645f8d189769/src/jdk/src/share/native/sun/java2d/cmm/lcms/cmscgats.c
--2019-02-12 09:48:13-- https://raw.githubusercontent.com/corretto/corretto-8/da7e192d1f7a73340cb1ec9b2f08645f8d189769/src/jdk/src/share/native/sun/java2d/cmm/lcms/cmscgats.c
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.28.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.28.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 74850 (73K) [text/plain]
Saving to: ‘cmscgats.c’
cmscgats.c 100%[==================================================================================================================================>] 73.10K --.-KB/s in 0.02s
2019-02-12 09:48:13 (3.01 MB/s) - ‘cmscgats.c’ saved [74850/74850]
# bboyter @ SurfaceBook2 in ~/Go/src/github.com/boyter/scc/examples/bug on git:master x [9:48:13]
$ scc cmscgats.c
───────────────────────────────────────────────────────────────────────────────
Language Files Lines Code Comments Blanks Complexity
───────────────────────────────────────────────────────────────────────────────
───────────────────────────────────────────────────────────────────────────────
Total 0 0 0 0 0 0
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop $0
Estimated Schedule Effort 0.000000 months
Estimated People Required NaN
───────────────────────────────────────────────────────────────────────────────
# bboyter @ SurfaceBook2 in ~/Go/src/github.com/boyter/scc/examples/bug on git:master x [9:48:19]
$ scc
───────────────────────────────────────────────────────────────────────────────
Language Files Lines Code Comments Blanks Complexity
───────────────────────────────────────────────────────────────────────────────
C 1 2819 2402 140 277 143
───────────────────────────────────────────────────────────────────────────────
Total 1 2819 2402 140 277 143
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop $67,794
Estimated Schedule Effort 5.517542 months
Estimated People Required 1.455479
───────────────────────────────────────────────────────────────────────────────
Having file arguments is something I should look into adding though. Encoding type should be ignored by scc
generally as it just looks at the bytes.
from scc.
@boyter Thanks. My bad! being able to effectively handle a single file would be quite useful indeed. We can use this ticket to track this if this works for you and I renamed the ticket.
from scc.
@boyter Ben, see the proposed patch #55 ... and note that I am a total Go noob.
from scc.
Ill have a look as soon as I recover from the surgery I am about to go though. Should be a few days.
from scc.
@boyter Ben... no rush, get well!
from scc.
Seems @dbaggerman is taking care of this one. Ill leave it in his capable hands and spend more time enjoying my pain.
from scc.
@boyter thanks to @dbaggerman we are all set. This is all merged. Thanks++
from scc.
Excellent! Thank you @dbaggerman
from scc.
Related Issues (20)
- Support ignoring submodules HOT 2
- "Text" rather than "Plain Text"? HOT 2
- Suggested primary branch name HOT 1
- Could you please release a new version? HOT 3
- Multiple directories do not sum correctly HOT 7
- Error in 'm'ain.ts' File Prevents Installation in Go HOT 1
- Recommended install method fails due to malformed file name HOT 5
- Flag --not-match/-M not working, got ignored entirely HOT 2
- Feature: Add custom languages.json support
- Feature: Add option to count files not supported by scc
- BUG: Multicharacter support HOT 4
- Docker: aquasec/trivy reports CRITICAL and HIGH vulnerabilities HOT 1
- Malware Alerts in SCC x86 Windows Release HOT 3
- REGRESSION: Performance HOT 2
- Consider disabling comoco and size by default HOT 1
- Github action removed HOT 1
- Feature - support language Clipper HOT 10
- Migrated previous GitLab CI code to a GitLab CI/CD Component HOT 1
- Proposal: Upgrade to Go 1.22 HOT 2
- Feature: add support for shebang for R HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scc.