On Mon, Jan 24, 2011 at 04:20:32PM +0100, Julien Cristau wrote:
> On Mon, Jan 24, 2011 at 17:09:10 +0200, Teodor MICU wrote:
> 
> > Hi,
> > 
> > 2011/1/24 Harald Jenny <har...@a-little-linux-box.at>:
> > >> 7) You should probably add "-q" for all these executions to avoid
> > >> unwanted strings during start/stop/restart.
> > >>   "`echo $MILTERSOCKET | grep -v ^inet`"
> > >
> > > If MILTERSOCKET is checked to contain text too?
> > 
> > Yes, it does cover the case where MILTERSOCKET contains something but
> > not if it is empty. For this I would recommend 'printf' since 'echo
> > -n' is not portable and not working with /bin/dash.
> > 
> Eh, what?
> 
>      Scripts may assume that `/bin/sh' implements the SUSv3 Shell Command
>      Language[1] plus the following additional features not mandated by
>      SUSv3:[2]
> 
>         * `echo -n', if implemented as a shell built-in, must not generate
>           a newline.
> 
> Works with dash afaict.

Yes works

> 
> Cheers,
> Julien

Thanks
Harald



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to