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

Tom G. Christensen tgc at statsbiblioteket.dk
Wed Feb 7 08:43:14 CET 2007


René Berber wrote:
> Hi,
> 
> As the subject says, the new version has a check_mail with line 123:
> 
>   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.
>
/usr/ucb/echo will do this on Solaris.

$ /usr/bin/echo -n
-n
$ /usr/ucb/echo -n
$

-tgc


More information about the MailScanner mailing list