cloc: hashbang header has "perl" twice

Eyal Rozenberg
Wed Sep 22 14:20:12 GMT 2021

I'm using:

Package              Version                        Status
cloc                 1.82+20190726+git608f376-1     OK

updated today. The first line of /usr/bin/cloc is:

#!/usr/bin/perl perl

while it should just be:


(like it is on my Linux machine)

Obviously this causes an error when running cloc:

Can't open perl script "perl": No such file or directory

I would also suggest that you consider using a newer version of cloc, as
there have been several releases since 1.82


More information about the Cygwin mailing list