better awd for sunos

This commit is contained in:
rsc 2005-07-27 20:18:28 +00:00
parent 28169890e2
commit 3fc9d88484
2 changed files with 3 additions and 2 deletions

2
bin/g
View file

@ -31,7 +31,7 @@ case $# in
1)
pattern="$1"
files=`/bin/ls *.[bcChlmy] *.cc *.lx *.py *.tex *.ms *.java *.xy 2>/dev/null |
9 grep -v '\.tabx?\.[ch]$'`
9 grep -v '\.tabx?\.[ch]$|^[xyz]\.'`
;;
*)
pattern="$1"