We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A simple bash script with this header:
#!/usr/bin/env bash
will result in a ContentInfo with
name: a contentType: OTHER mimeType: null message: a b script text executable
whereas command line file says Bourne-Again shell script, ASCII text executable
file
Bourne-Again shell script, ASCII text executable
I used the same magic file for both simplemagic and file (/usr/share/file/magic).
/usr/share/file/magic
The text was updated successfully, but these errors were encountered:
Having some arbitrary shebang:
$ cat xx #!/some/executable
simplemagic gives a, type OTHER, msg 'a / script text executable', file gives:
a, type OTHER, msg 'a / script text executable'
$ file xx xx: a /some/executable script, ASCII text executable
Sorry, something went wrong.
No branches or pull requests
A simple bash script with this header:
#!/usr/bin/env bash
will result in a ContentInfo with
whereas command line
file
saysBourne-Again shell script, ASCII text executable
I used the same magic file for both simplemagic and file (
/usr/share/file/magic
).The text was updated successfully, but these errors were encountered: