On Wed, 2021-09-29 at 13:53 +0200, Miro Hrončok wrote:
On 25. 09. 21 11:12, Fabio Valentini wrote:
> So, if I understand correctly, the problem is that right now there's
> no *existing* tool that reliably detects if a given "executable" (has
> mode +x) is an actual executable "script" with a valid shebang?
- We need to detect "scripts" that are executable but have no shebnag.
- We need to detect "scripts" that are executable and have a shebnag to
- We might want to detect binary files that are executable but
(such as images), but this was not the original purpose of the BRP
instead use `file --mime-type` you may use `file --mime-encoding` or
`file` none option
file /usr/lib/node_modules/yarn/bin/yarn.js -b
Node.js script, ASCII text executable
file /usr/lib/node_modules/yarn/bin/yarn.js --mime-encoding -b
if mime-encoding that is not binary is text , I think
packaging mailing list -- packaging(a)lists.fedoraproject.org
To unsubscribe send an email to
Fedora Code of Conduct:
Do not reply to spam on the list, report it:
Sérgio M. B.