[Pkg-samba-maint] [Bug 8924] Avoid bashism in smbtar

samba-bugs at samba.org samba-bugs at samba.org
Sun Jun 10 11:52:49 UTC 2012


--- Comment #3 from Björn Jacke <bj at sernet.de> 2012-06-10 11:52:49 UTC ---
(In reply to comment #2)
> > the proposed printf doesn't work with NetBSD's "ash", so this doesn't make it
> > more portable here.
> Hmm, why does NetBSD not use a POSIX compliant shell?

ash isn't the default shell there. You also have ash on other platforms

> In practice when using "\\" shells that don't support it, will probably
> use the echo command which handles it without problems. According to
> POSIX it's not guaranteed to work though, while printf should.

do you have a pointer to where posix sais that?

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.

More information about the Pkg-samba-maint mailing list