On Fri, Oct 27, 2006 at 10:32:47AM +0200, Marc Haber wrote: > > 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?
Hey, I am merely a user, I know things are broken when I see it, but no idea what is the best way to fix them. :-P Seriously, though, it seems to me using /bin/echo is a good solution as coreutils is Essential: yes. Ming 2006.10.27 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

