tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Initial MirBSD support for pkgsrc
On Thu, Feb 03, 2011 at 02:41:42PM +0100, Benny Siegert wrote:
> On Thu, Feb 3, 2011 at 14:10, David Laight <david%l8s.co.uk@localhost> wrote:
>
> > Being part of POSIX.1 doesn't mean it is available.
>
> Okay.
>
> > Additionally, it is much more likely (than echo) of not being a shell
> > builtin.
> > This means that it is much slower to execute - and that can easily
> > be significant.
>
> This is why I only changed modts, where it matters. It would also be
> possible to change only the one failing test, or to define a variable
> ECHO_COMMAND, which could be set either to echo or to printf '%s\n'.
$ echo foo bar
foo bar
$ printf '%s\n' foo bar
foo
bar
There are enough things that depend on a BSDish echo. Backslash escaped
newlines fall into the category "magically breaks things". There is a
reason for the dash check.
Joerg
Home |
Main Index |
Thread Index |
Old Index