code: plan9front

Download patch

ref: 1b4758d596b70384d7f6389171030611a0f97f7c
parent: 777b1949b2475a4d989533ce200e2f8312fb89ca
author: kvik <kvik@a-b.xyz>
date: Thu Apr 8 23:18:53 EDT 2021

g: add lua, mk, ml, mli, myr, and sh suffixes

--- a/rc/bin/g
+++ b/rc/bin/g
@@ -15,7 +15,7 @@
 if(~ $1 --)
 	shift
 
-suffixes='\.([bcChlmsy]|asm|awk|cc|cgi|cpp|cs|go|goc|hs|java|lx|ms|pl|py|rc|tex|xy)$'
+suffixes='\.([bcChlmsy]|asm|awk|cc|cgi|cpp|cs|go|goc|hs|java|lua|lx|mk|ml|mli|ms|myr|pl|py|rc|sh|tex|xy)$'
 fullnames='(^|/)mkfile$'
 switch($#*){
 case 0