g: more extensions
This commit is contained in:
parent
b6993361e0
commit
f976fbe8c7
2 changed files with 2 additions and 1 deletions
2
rc/bin/g
2
rc/bin/g
|
@ -14,7 +14,7 @@ case 0
|
|||
exit usage
|
||||
case 1
|
||||
pattern=$1
|
||||
files=(`{ls *.[bcChlmy] *.asm *.cc *.cs *.lx *.cgi *.pl *.py *.tex *.ms *.java *.xy *.go *.goc >[2]/dev/null})
|
||||
files=(`{ls *.[bcChlmsy] *.asm *.cc *.cs *.lx *.cgi *.pl *.py *.tex *.ms *.java *.xy *.go *.goc >[2]/dev/null})
|
||||
case *
|
||||
pattern=$1
|
||||
shift
|
||||
|
|
|
@ -114,6 +114,7 @@ with
|
|||
(plus aditional flags, if provided)
|
||||
and forces tagging of output lines by file name. If no files
|
||||
are listed, it searches all files matching
|
||||
.B *.b *.c *.C *.h *.l *.m *.s *.y
|
||||
.B *.asm *.cc *.cs *.lx *.cgi *.pl
|
||||
.B *.py *.tex *.ms *.java *.xy *.go
|
||||
.B *.goc
|
||||
|
|
Loading…
Reference in a new issue