Skip to content
This repository

shebang should be in priority over file extension? #738

Closed
vsespb opened this Issue · 1 comment

2 participants

Victor Efimov Ted Nyman
Victor Efimov

this script

https://github.com/sharyanto/scripts/blob/61fc717f4d12090243ffdd2148db2d58b8b6761f/download-all-blogs.perl.org-posts-of-a-user

not detected as perl
because there are dots "." in filename

however, it has executable attribute and #!/usr/bin/env perl shebang.

I think unix systems will execute it as perl, so it should be detected as perl.

Ted Nyman
Owner

We currently have work in progress to always favor the shebang. I'm closing several related issues all in favor of #514. Thanks!

Ted Nyman tnm closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.