sysupdate/psfax/play: fix unquoted brackets causing rc to perform unnecessary file lookups
This commit is contained in:
parent
b52f0c884e
commit
81e0d6e988
3 changed files with 3 additions and 3 deletions
|
@ -76,7 +76,7 @@ fn play1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn usage {
|
fn usage {
|
||||||
echo usage: $argv0 [ -o file ] [ file ... ] >[1=2]
|
echo usage: $argv0 '[ -o file ] [ file ... ]' >[1=2]
|
||||||
exit usage
|
exit usage
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ case -v
|
||||||
|
|
||||||
switch($#*){
|
switch($#*){
|
||||||
case 0 1
|
case 0 1
|
||||||
echo usage: $0 telephone-number recipient [files]
|
echo usage: $0 telephone-number recipient '[files]'
|
||||||
exit 0
|
exit 0
|
||||||
case 2
|
case 2
|
||||||
stdin=yes
|
stdin=yes
|
||||||
|
|
|
@ -8,7 +8,7 @@ while(! ~ $#* 0){
|
||||||
case -i
|
case -i
|
||||||
hg incoming
|
hg incoming
|
||||||
case *
|
case *
|
||||||
echo usage: sysupdate [-i] >[1=2]
|
echo usage: sysupdate '[-i]' >[1=2]
|
||||||
exit usage
|
exit usage
|
||||||
}
|
}
|
||||||
shift
|
shift
|
||||||
|
|
Loading…
Reference in a new issue