summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2012-07-05 13:12:04 -0500
committerstanley lieber <stanley.lieber@gmail.com>2012-07-05 13:12:04 -0500
commitb6993361e05683bc61ce69800f802495e682e5bb (patch)
tree431143d80c868caa49fad61d9e515a40de6e16b7 /rc
parent1e04852c3d528234966984b703487c9209d163fe (diff)
g: expand matched files list and add to grep(1) man page
Diffstat (limited to 'rc')
-rw-r--r--rc/bin/g2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/g b/rc/bin/g
index e75da7310..a7ac8b146 100644
--- a/rc/bin/g
+++ b/rc/bin/g
@@ -14,7 +14,7 @@ case 0
exit usage
case 1
pattern=$1
- files=(`{ls *.[bcChm] *.cc *.py *.tex *.ms *.java >[2]/dev/null})
+ files=(`{ls *.[bcChlmy] *.asm *.cc *.cs *.lx *.cgi *.pl *.py *.tex *.ms *.java *.xy *.go *.goc >[2]/dev/null})
case *
pattern=$1
shift