Stephan Beyer wrote: > Hmm, IIRC if $FIRSTLINE contains \n or something like that, it will > interpret this as newline in some shell/echo implementations. Just in case someone wonders but doesn't dare ask: bash as expected: $ echo 'foo\nbar' foo\nbar $ echo -e 'foo\nbar' foo bar But dash: $ echo 'foo\nbar' foo bar $ echo -e 'foo\nbar' -e foo bar (According to Debian Popularity Contest[1] "dash" is used in more than 10.000 Debian installations, although it doesn't say if it is used for /bin/sh.) 1. http://qa.debian.org/popcon.php?package=dash Regards, Stephan -- Stephan Beyer <s-beyer@xxxxxxx>, PGP 0x6EDDD207FCC5040F -- 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