Re: portable shell scripts

2002-05-31 Thread Lars Gullik Bjønnes
Stephan Witt <[EMAIL PROTECTED]> writes: | Jean-Marc Lasgouttes wrote: > >>>"Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: >>> >> Lars> Andre is not the whole world. >> Lars> I read a lot of shell scripts and this contruct is not often >> Lars> used. (it is often used, but almo

Re: portable shell scripts

2002-05-31 Thread Stephan Witt
Jean-Marc Lasgouttes wrote: >>"Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: >> > > Lars> Andre is not the whole world. > > Lars> I read a lot of shell scripts and this contruct is not often > Lars> used. (it is often used, but almost never for plain variables) > > Again: >

Re: portable shell scripts

2002-05-31 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Andre is not the whole world. Lars> I read a lot of shell scripts and this contruct is not often Lars> used. (it is often used, but almost never for plain variables) Again: ${foo} - it does not hurt - it works always $foo

Re: portable shell scripts

2002-05-31 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Friday 31 May 2002 11:10 am, Lars Gullik Bjønnes wrote: >> Btw. please explain to me why ${FDFILE} is used instead of $FDFILE >> >> It is not very usual. > | Not this again. You prefer one and the whole rest of the world prefers the | other. Ask And

Re: portable shell scripts

2002-05-31 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> Lars> | Angus> I am trying to introduce some of the changes I've made Lars> in my | Angus> wrappers tree back into

Re: portable shell scripts

2002-05-31 Thread Angus Leeming
On Friday 31 May 2002 11:10 am, Lars Gullik Bjønnes wrote: > Btw. please explain to me why ${FDFILE} is used instead of $FDFILE > > It is not very usual. Not this again. You prefer one and the whole rest of the world prefers the other. Ask Andre. Angus

Re: portable shell scripts

2002-05-31 Thread Angus Leeming
On Friday 31 May 2002 10:59 am, Stephan Witt wrote: > cat - > ${HOUT} < // File generated by fdesign from ${FDFILE} > // and modified by fdfix.sh for use by LyX. > > // WARNING! All changes made to this file will be lost! > > // Copyright $DATE the LyX Team > // Read the file COPYING > EOF Perfec

Re: portable shell scripts

2002-05-31 Thread Angus Leeming
On Friday 31 May 2002 11:03 am, Lars Gullik Bjønnes wrote: > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > | Use printf instead. > > Is that a good solution? > Printf seems to me to be aven more unportable than echo > > what about "echo -e" ? -e is not portable. Stephan's cat solution is per

Re: portable shell scripts

2002-05-31 Thread Lars Gullik Bjønnes
Stephan Witt <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: > >> I am trying to introduce some of the changes I've made in my >> wrappers tree back into the cvs, but I have a problem. >> In the xforms/forms directory is a shell script, fdfix.sh that is >> used to manipulate the output from fd

Re: portable shell scripts

2002-05-31 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > | Angus> I am trying to introduce some of the changes I've made in my | Angus> wrappers tree back into the cvs, but I have a problem. > | Angus> In the xforms/forms directory is a shell

Re: portable shell scripts

2002-05-31 Thread Stephan Witt
Angus Leeming wrote: > I am trying to introduce some of the changes I've made in my wrappers tree > back into the cvs, but I have a problem. > > In the xforms/forms directory is a shell script, fdfix.sh that is used to > manipulate the output from fdesign to a form suitable for LyX. I have add

Re: portable shell scripts

2002-05-31 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I am trying to introduce some of the changes I've made in my Angus> wrappers tree back into the cvs, but I have a problem. Angus> In the xforms/forms directory is a shell script, fdfix.sh that Angus> is used to manipulate the outp

portable shell scripts

2002-05-31 Thread Angus Leeming
I am trying to introduce some of the changes I've made in my wrappers tree back into the cvs, but I have a problem. In the xforms/forms directory is a shell script, fdfix.sh that is used to manipulate the output from fdesign to a form suitable for LyX. I have added this: INTRO_MESSAGE="// Fil