Comments (3)
Have you tried with single quotes?
On my Windows 11 computer in a PowerShell terminal, the command works with either single or double quotes around Fortran 90
.
from cloc.
I suspect you're using the old Windows PowerShell and not the modern PowerShell 7.x.
Windows PowerShell
PS C:\Users\Chad\src\tmc-tools> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.22621.2506
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22621.2506
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
PS C:\Users\Chad\src\tmc-tools> cloc --force-lang="Visual Basic",lss .
3672 text files.
3470 unique files.
241 files ignored.
github.com/AlDanial/cloc v 2.00 T=6.99 s (496.4 files/s, 65366.2 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
PowerShell 2158 47632 87990 271818
Markdown 200 11164 0 24177
Visual Basic 78 1667 899 6345
CSV 966 0 0 2208
Bourne Shell 5 219 251 1154
Text 55 363 0 839
JSON 5 0 0 90
INI 1 12 0 82
C 1 8 0 30
YAML 1 0 0 6
-------------------------------------------------------------------------------
SUM: 3470 61065 89140 306749
-------------------------------------------------------------------------------
PowerShell 7.x
C:\Users\Chad\src\tmc-tools> $PSVersionTable
Name Value
---- -----
PSVersion 7.4.1
PSEdition Core
GitCommitId 7.4.1
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
C:\Users\Chad\src\tmc-tools> cloc --force-lang="Visual Basic",lss .
3672 text files.
3392 unique files.
319 files ignored.
1 error:
Unable to read: basic",lss
github.com/AlDanial/cloc v 2.00 T=7.49 s (452.7 files/s, 59798.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
PowerShell 2158 47632 87990 271818
Markdown 200 11164 0 24177
CSV 966 0 0 2208
Bourne Shell 5 219 251 1154
Text 55 363 0 839
JSON 5 0 0 90
INI 1 12 0 82
C 1 8 0 30
YAML 1 0 0 6
-------------------------------------------------------------------------------
SUM: 3392 59398 88241 300404
-------------------------------------------------------------------------------
C:\Users\Chad\src\tmc-tools> cloc --force-lang="Visual Basic,lss" .
3672 text files.
3470 unique files.
241 files ignored.
github.com/AlDanial/cloc v 2.00 T=5.93 s (585.1 files/s, 77051.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
PowerShell 2158 47632 87990 271818
Markdown 200 11164 0 24177
Visual Basic 78 1667 899 6345
CSV 966 0 0 2208
Bourne Shell 5 219 251 1154
Text 55 363 0 839
JSON 5 0 0 90
INI 1 12 0 82
C 1 8 0 30
YAML 1 0 0 6
-------------------------------------------------------------------------------
SUM: 3470 61065 89140 306749
-------------------------------------------------------------------------------
from cloc.
Your solution is good, thank you.
from cloc.
Related Issues (20)
- Nickel config lang support
- exe version of cloc not support file name with chinese character HOT 4
- Language support for Luau .luau HOT 1
- List winget in README package maganers HOT 1
- Cloc has problems with */* in Go HOT 3
- Cloc doesn't count correctly Visual Basic code HOT 1
- Add Modelica language HOT 3
- support Processing Language
- --fullpath does not work with --vcs=git HOT 4
- Possible inconsistent counting of "same" lines HOT 5
- Add option to exclude shebang from the count HOT 5
- Add support for .gjs/.gts
- dotnet tool HOT 1
- Reading JSON file kills cloc when counting repo HOT 3
- --csv-delimiter doesn't work HOT 4
- --not-match-d= includes file at root of pattern HOT 7
- Attempt to create a file in the present working directory. HOT 2
- Support for the Yang language
- Differentiation of client-side vs. server-side code for langs where both can be defined? HOT 3
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 cloc.