On Wed, Jan 14, 2009 at 05:28:11PM +0100, Tor Arne Vestbø wrote: > +MSG=${MSG//%/} > +printf "$MSG" > "$1" > +printf "$MSG" >& 2 Substitution parameter expansion is a bash-ism, IIRC. How about just printf %s "$MSG" ? -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html