[File] [PATCH] Add ash magic for /bin and /usr/bin

Christos Zoulas christos at zoulas.com
Tue Apr 6 16:18:33 UTC 2021


Committed, thanks!

christos

> On Apr 6, 2021, at 10:47 AM, Cormac Stephenson <c7s at kasku.net> wrote:
> 
> ---
> magic/Magdir/commands | 5 +++++
> 1 file changed, 5 insertions(+)
> 
> diff --git a/magic/Magdir/commands b/magic/Magdir/commands
> index 10f8d2b2..a87fe2ee 100644
> --- a/magic/Magdir/commands
> +++ b/magic/Magdir/commands
> @@ -38,8 +38,13 @@
> 0	search/1	#!/usr/bin/env\ zsh	Paul Falstad's zsh script text executable
> !:mime	text/x-shellscript
> 
> +0	string/wt	#!\ /bin/ash		Neil Brown's ash script text executable
> +!:mime	text/x-shellscript
> +0	string/wt	#!\ /usr/bin/ash	Neil Brown's ash script text executable
> +!:mime	text/x-shellscript
> 0	string/wt	#!\ /usr/local/bin/ash	Neil Brown's ash script text executable
> !:mime	text/x-shellscript
> +
> 0	string/wt	#!\ /usr/local/bin/ae	Neil Brown's ae script text executable
> !:mime	text/x-shellscript
> 0	string/wt	#!\ /bin/nawk		new awk script text executable
> --
> 2.30.2
> 
> --
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20210406/a5c05749/attachment.asc>


More information about the File mailing list