From 3ff8f72ec222c73f3733337d477bedb1481b350a Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 18 Mar 2005 18:59:27 +0000 Subject: search .lx, .xy, avoid .tab.[ch]. --- bin/g | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/g b/bin/g index e8bd3def..33460f8b 100755 --- a/bin/g +++ b/bin/g @@ -30,7 +30,8 @@ case $# in ;; 1) pattern="$1" - files=`/bin/ls *.[bcChm] *.cc *.py *.tex *.ms *.java 2>/dev/null` + files=`/bin/ls *.[bcChlmy] *.cc *.lx *.py *.tex *.ms *.java *.xy 2>/dev/null | + 9 grep -v '\.tabx?\.[ch]$'` ;; *) pattern="$1" -- cgit v1.2.3