g: more extensions

This commit is contained in:
cinap_lenrek 2012-07-05 20:24:00 +02:00
parent b6993361e0
commit f976fbe8c7
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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