commit 3ff8f72ec222c73f3733337d477bedb1481b350a parent 56a48c69aacd0a0deef24f7608c10cf3dbaab0a0 Author: rsc <devnull@localhost> Date: Fri, 18 Mar 2005 18:59:27 +0000 search .lx, .xy, avoid .tab.[ch]. Diffstat:
M | bin/g | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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"