Bug#395448: exim4-base: cron script uses "echo -e", which is not recognized by dash

Marc Haber mh+debian-packages at zugschlus.de
Fri Oct 27 08:32:47 UTC 2006

tags #395448 confirmed

On Thu, Oct 26, 2006 at 08:05:25PM -0500, Ming Hua wrote:
> In the /etc/cron.daily/exim4-base script, it uses
>     echo -e "Subject: exim paniclog...\nTo: root\n..."
> to send a mail to root about non-empty paniclog.
> However this seems to only have desired result in bash.  After I set my
> /bin/sh to dash, I am getting mails about paniclog with empty subject,
> but "-e Subject: exim paniclog on ..." in the mail body.  Testing with
> dash confirms that dash doesn't recognize the "-e" option, and just echo
> it literally.

Is it acceptable for you to explicitly call /bin/echo instead of the
echo builtin?


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

More information about the Pkg-exim4-maintainers mailing list