code: plan9front

Download patch

ref: 4745cae5bc669f0c4a5f8c71f629c4ab4fe828df
parent: 567b1b912a91bf56bebacc67b6a467986d5bed6c
author: Jacob Moody <moody@posixcafe.org>
date: Sun Apr 21 14:51:39 EDT 2024

g: search .S files

Useful for searching unix-y assembly files

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