[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 small edits to /etc/rc



Matthew Patton wrote:
> In the section dealing with vibackup:
> replace 
>   if test -x $i -o ! -s $i; then
> with 
>   if [ -x $i -o ! -s $i ]; then
> 
> Similarly in the next section dealing with virecovery:
> replace
>   if test -n "$recfile" -a -s "$recfile";
> with
>   if [ -n "$recfile" -a -s "$recfile" ];
> 

Aren't these the same? Am I missing something about test and [ ?

Dave
-- 
                <----.   mail-to: djv@bedford.net
                <----|===================================
                <----'  Zber Qnrzbaf, Srjre Qrivyf!