g: revert accidental change, document missing file type

front
glenda 2018-02-27 10:08:23 -05:00
parent 60befe7df1
commit 59b31cccdb
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ case 0
exit usage
case 1
pattern=$1
files=(`{ls *.[bcChlmsy] *.ml[iyl] *.ml *.asm *.awk *.cc *.cgi *.cpp *.cs *.go *.goc *.java *.lx *.ms *.pl *.py *.rc *.tex *.xy >[2]/dev/null})
files=(`{ls *.[bcChlmsy] *.asm *.awk *.cc *.cgi *.cpp *.cs *.go *.goc *.java *.lx *.ms *.pl *.py *.rc *.tex *.xy >[2]/dev/null})
case *
pattern=$1
shift

View File

@ -117,7 +117,7 @@ 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
.B *.goc *.cpp
.SH SOURCE
.B /sys/src/cmd/grep
.br