pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc on Ubuntu: recent libtool bash/dash fallout with _bUiLdLiNk_

On 2014-09-23 17:14, Matthias Ferdinand wrote:
On Mon, Sep 22, 2014 at 07:47:28PM -0400, Greg Troxel wrote:
Joerg Sonnenberger <> writes:
> We don't support dash.

Well, it seems we aim to have code that works on shells that conform
POSIX.   Is this a case of something in dash feeling to meet POSIX?

One possible workaround would be to use printf instead of echo.

Yes, that is the only portable solution.
If the first operand is -n, or if any of the operands contain a backslash ( '\' ) character, the results are implementation-defined.

dash interprets the "\1" and "\2" as ctrl-a and ctrl-b.

Gentoo found this 4 years ago have have shipped this patch with dash

Not that it helps unless Debian/Ubuntu/$OTHER_OS ship that patch also.


Home | Main Index | Thread Index | Old Index