ref: 8471660444772f79dd812ae651fcf471ecb9f987
parent: 49443e18ddd6a8f6812e0a3044527e11f17ed85e
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
--
⑨