shithub: riscv

Download patch

ref: 4dbb99f478d68eaeea4c043a839454cb807c2c7d
parent: 8a234e57b92f0915aae935aa0c9fe5285113b32f
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Jan 28 09:03:44 EST 2024

g: search in files with .txt suffix

--- 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)$'
+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)$'
 fullnames='(^|/)mkfile$'
 repodirs='(^|/)(.git|.hg)($|/)'
 switch($#*){