Minor bug in 4.58.9: check_mail:123 "echo -n" is not portable

René Berber r.berber at computer.org
Wed Feb 7 02:23:07 CET 2007


René Berber wrote:
> Hi,
> 
> As the subject says, the new version has a check_mail with line 123:

s/check_mail/check_mailscanner/

>   echo -n 'Starting MailScanner...'
> 
> the problem is that "echo -n" does not work everywhere, specifically it doesn't
> work in Solaris 9, 8, ... with the stock echo, or the built-in Bourne shell echo.
> 
> Alternatives are, in order of preference:
> 
> 1. printf 'Starting MailScanner...'
> 
> 2. echo 'Starting MailScanner...\c'
> 
> The first one is probably portable, the second is what we use in Solaris and
> probably doesn't work anywhere else.
-- 
René Berber



More information about the MailScanner mailing list