On Wed, 10 Mar 2004, Georg Baum wrote:
> Andre Poenitz wrote:
>
> > On Mon, Mar 08, 2004 at 05:55:48PM +0100, Georg Baum wrote:
> >> #! /bin/sh
> >> SUFFIX="-1.4"
> >> INSTDIR="/path/to/lyx1.4cvs"
> >> tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221
> >
> > Shouldn't that be "$@" (in double quotes?)
>
> I don't know. I guess the double quotes are needed if you have spaces in
> file names, but are wrong if you want to pass more than one option.
"$@" will quote multiple arguments separately. This is different from
"$*" which would take multiple arguments and create a single argument.
/Christian
--
Christian Ridderstr�m http://www.md.kth.se/~chr