ref: 81e0d6e988289c983445f855583496048fb4c61b
parent: b52f0c884ebc0d743fb617ed9feed26ae2296f69
author: BurnZeZ <brz-9dev@intma.in>
date: Wed Oct 15 11:57:51 EDT 2014
sysupdate/psfax/play: fix unquoted brackets causing rc to perform unnecessary file lookups
--- a/rc/bin/play
+++ b/rc/bin/play
@@ -76,7 +76,7 @@
}
fn usage {
- echo usage: $argv0 [ -o file ] [ file ... ] >[1=2]
+ echo usage: $argv0 '[ -o file ] [ file ... ]' >[1=2]
exit usage
}
--- a/rc/bin/psfax
+++ b/rc/bin/psfax
@@ -10,7 +10,7 @@
switch($#*){
case 0 1
- echo usage: $0 telephone-number recipient [files]
+ echo usage: $0 telephone-number recipient '[files]'
exit 0
case 2
stdin=yes
--- a/rc/bin/sysupdate
+++ b/rc/bin/sysupdate
@@ -8,7 +8,7 @@
case -i
hg incoming
case *
- echo usage: sysupdate [-i] >[1=2]
+ echo usage: sysupdate '[-i]' >[1=2]
exit usage
}
shift