diff --git a/rc/bin/g b/rc/bin/g index a7ac8b146..c2a3901b9 100644 --- a/rc/bin/g +++ b/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 diff --git a/sys/man/1/grep b/sys/man/1/grep index 0806051d9..88a3f63b0 100644 --- a/sys/man/1/grep +++ b/sys/man/1/grep @@ -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