tbetter awd for sunos - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3fc9d8848430fe72937b268f930896b5ec6f7513 | |
parent 28169890e2b33cbf0d99be5a5db74b1f6713ddf8 | |
Author: rsc | |
Date: Wed, 27 Jul 2005 20:18:28 +0000 better awd for sunos Diffstat: M bin/awd | 3 ++- M bin/g | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) --- | |
diff --git a/bin/awd b/bin/awd | |
t@@ -14,7 +14,8 @@ case $# in sys=$1 ;; 0) - sys=`hostname -s` + # hostname -s sets the hostname to "-s" on Solaris + sys=`hostname |sed 's/\..*//'` ;; *) usage | |
diff --git a/bin/g b/bin/g | |
t@@ -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" |