sysupdate/psfax/play: fix unquoted brackets causing rc to perform unnecessary file lookups

This commit is contained in:
BurnZeZ 2014-10-15 15:57:51 -04:00
parent b52f0c884e
commit 81e0d6e988
3 changed files with 3 additions and 3 deletions

View file

@ -76,7 +76,7 @@ fn play1 {
}
fn usage {
echo usage: $argv0 [ -o file ] [ file ... ] >[1=2]
echo usage: $argv0 '[ -o file ] [ file ... ]' >[1=2]
exit usage
}

View file

@ -10,7 +10,7 @@ case -v
switch($#*){
case 0 1
echo usage: $0 telephone-number recipient [files]
echo usage: $0 telephone-number recipient '[files]'
exit 0
case 2
stdin=yes

View file

@ -8,7 +8,7 @@ while(! ~ $#* 0){
case -i
hg incoming
case *
echo usage: sysupdate [-i] >[1=2]
echo usage: sysupdate '[-i]' >[1=2]
exit usage
}
shift