tags #395448 confirmed thanks 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? Greetings Marc -- ----------------------------------------------------------------------------- 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

