smbtar cannot recognize space character in filename

Alexandre Oliva oliva at dcc.unicamp.br
Thu Jun 10 10:13:19 GMT 1999


On Jun  9, 1999, SATOH Fumiyasu <fumiya at cij.co.jp> wrote:

> The "$@" is a feature of /bin/sh. (see sh(1))
> But, is the "$@" a generic feature of /bin/sh? I don't know...

Yup.  But, in order to be portable, you should use ${1+"$@"}, because
some shells expand "$@" to "" if no arguments are given, while others
simply remove "$@" in this case.

I'm fixing this for the next release, thanks

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists



More information about the samba mailing list