a much improved smbprint script.

Rafal Szczesniak mimir at spin.ict.pwr.wroc.pl
Sun Dec 9 16:39:07 GMT 2001


On Mon, 10 Dec 2001, Richard Sharpe wrote:

> Alfred Perlstein wrote:
>
> OK, another problem I have is that ${param:+word} does not look portable.

because it's not portable. I tried something similiar once (with i18n
manpages) and it failed with c-shells. If you really need it to be
one-line command, use sed. I know, relying on sed is not the best
example of portability, but it's used anyway in samba scripts.


cheers,
+--------------------------------------------------------+
|Rafal 'Mimir' Szczesniak <mimir at spin.ict.pwr.wroc.pl>   |
|*BSD, Linux and Samba                                  /
|______________________________________________________/





More information about the samba-technical mailing list