>>>>> "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 the cvs, but I have a Lars> problem. >> Lars> | Angus> In the xforms/forms directory is a shell script, Lars> fdfix.sh that | Angus> is used to manipulate the output from Lars> fdesign to a form | Angus> suitable for LyX. I have added this: >> Lars> | Angus> INTRO_MESSAGE="// File generated by fdesign from Lars> ${FDFILE} \n"\ | Angus> "// and modified by fdfix.sh for use by Lars> LyX.\n\n"\ "// WARNING! | Angus> All changes made to this file Lars> will be lost!\n\n"\ "// Copyright | Angus> $DATE the LyX Lars> Team\n// Read the file COPYING" >> Lars> | Angus> echo ${INTRO_MESSAGE} > ${HOUT} >> Lars> | Use printf instead. Lars> Is that a good solution? Printf seems to me to be aven more Lars> unportable than echo See the following solaris man page, for example http://www.unidata.ucar.edu/cgi-bin/man-cgi?echo+1 Lars> what about "echo -e" ? Not supported everywhere. See above. JMarc