On Sun, 21 Aug 2005 11:08:22 +0200
Han-Wen wrote:
>
> I think /usr/local/bin/lilypond is the shell script to invoke it from
> the command line. It currently says
>
> # run the program
> python "$INSTALLDIR/LilyPond.app/Contents/Resources/lilycall.py" \
> "$INSTALLDIR/LilyPond.app/" $*
Remember to use $@
which keeps variables with spaces (like filenames) together.
#Compare:
set "gamma waves"
for u in $@
do
echo $u
done
-> gamma waves
for u in $*
do
echo $u
done
-> gamma
waves
There is problems with spaces in filenames any way you
look at it. If one shell script calls another - then what?
<joke>
People who use Lilypond would not suffer much (more:-)
by learning to avoid spaces in filnames.
</joke>
>
> but if you put "$*" it doesn't work for multiple arguments
>
> I guess I have to convert this one to python as well.
--
dax2-tele2adsl:dk -- http://d-axel.dk/ Donald Axel
_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user