mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
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:
parent
2d63bdbb44
commit
084c9d6eba
2 changed files with 5 additions and 4 deletions
2
rc/bin/g
2
rc/bin/g
|
@ -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($#*){
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue