This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc question
- To: Joe Buck <jbuck at synopsys dot com>
- Subject: Re: gcc question
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 07 Feb 2000 01:26:36 -0200
- Cc: martin at loewis dot home dot cs dot tu-berlin dot de (Martin v. Loewis), sklee at synopsys dot com, gcc at gcc dot gnu dot org
- References: <200002032057.MAA15624@yamato.synopsys.com>
On Feb 3, 2000, Joe Buck <jbuck@synopsys.com> wrote:
> Use "$@" rather than $*.
I'd recommend `${1+"$@"}'. Some shells expand "$@" to a single empty
argument even when no arguments have been passed.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them