Dear all This may be slightly OT, but I'm using on a FreeBSD machine. How to convert following into bash style? echo "${X}" > ${Z} echo "${Y}" >> ${Z} Best regards Unga