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

Cormac Stephenson c7s at kasku.net
Tue Apr 6 14:47:49 UTC 2021


---
 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



More information about the File mailing list