mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
better awd for sunos
This commit is contained in:
parent
28169890e2
commit
3fc9d88484
2 changed files with 3 additions and 2 deletions
3
bin/awd
3
bin/awd
|
@ -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
|
||||
|
|
2
bin/g
2
bin/g
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue