Hi,

2011/1/24 Julien Cristau <jcris...@debian.org>:
>> 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.

Last time I checked I was testing several systems (not only on Debian)
and I had some issues with "echo -n". Ever since I've replace it with
'printf' but you might be right that "echo -n" is working fine with
dash too. I know for user that I'll stick to this convention since I
don't have Debian on all hosts.

Thanks



--
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