[tex-live] Comment on Re: TeXLive-CD/DVD (Installation)
Oliver Bandel
oliver at first.in-berlin.de
Fri May 25 09:40:25 CEST 2007
On Thu, May 24, 2007 at 07:01:54PM +0200, David Kastrup wrote:
> "Zdenek Wagner" <zdenek.wagner at gmail.com> writes:
>
[...]
> > #!/bin/bash
> > echo "Number of parameters = $#"
> > if [ $# -eq 1 ]
> > then
> > ./param $1
> > fi
> >
> > If you call it with an escaped space within the first parameter, you'll get:
> >
> > [wagner at cluster1 wagner]$ ./param some\ text
> > Number of parameters = 1
> > Number of parameters = 2
> >
> > Beware! If you call this script with one parameter, you will fall into
> > an endless loop!
>
> Nonsense. You don't need to "reescape". All you need is properly
> quote:
>
> ./param "$1"
>
> That's all. Or
>
> ./param "$@"
>
[...]
What is param?
first:~ oliver$ param
-bash: param: command not found
first:~ oliver$
Ciao,
Oliver
More information about the tex-live
mailing list