g: add .in, fix earlier fuckup (thanks mkf)

2d63bdbb44 was pushed modified
compared to the patch actually submitted by mkf, in error.
This commit is contained in:
qwx 2024-09-04 19:57:16 +00:00
parent 2d63bdbb44
commit 084c9d6eba
2 changed files with 5 additions and 4 deletions

View file

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

View file

@ -118,9 +118,10 @@ all files matching
.B *.b *.c *.C *.h *.l *.m
.B *.s *.y
.B *.asm *.awk *.cc *.cgi *.cpp *.cs
.B *.go *.goc *.hs *.java *.lua *.lx
.B *.mk *.ml *.mli *.ms *.myr *.pl
.B *.py *.rc *.sh *.tex *.xy
.B *.cxx *.go *.goc *.hpp *.hs *.hxx
.B *.in *.java *.lua *.lx *.mk *.ml
.B *.mli *.ms *.myr *.pl *.py *.rc
.B *.sh *.tex *.txt *.xy
.PP
The recursive search can be suppressed by passing g the
.B -n