-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is what I get: % dash -c 'type echo; echo -n foo; echo foo' echo is a shell builtin - -n foo foo On 11/12/2015 03:35 AM, Seb wrote: > On Wed, Nov 11, 2015 at 10:46:02PM -0500, Kevin Korb wrote: > >>>> By the way, 'echo -n' is non-portable, and POSIX says you >>>> should use 'printf' instead. >> >> If dash refuses to supply a compatible version of echo then dash >> must not include a builtin version of echo. If dash didn't have >> a broken embedded version of echo I wouldn't have a problem. > > dash just claims to be compatible with POSIX, not with *sh. If you > look for something like this (lighter than bash but with many of > its features), glance rather at mksh: > > https://www.mirbsd.org/mksh.htm > > Now, I don't understand the present issue, all seems just work as > expected here (0.5.8): > > $ dash -c 'type echo; echo -n foo; echo foo' echo is a shell > builtin foofoo > > ++ Seb. > > -- To unsubscribe from this list: send the line "unsubscribe dash" > in the body of a message to majordomo@xxxxxxxxxxxxxxx More > majordomo info at http://vger.kernel.org/majordomo-info.html > - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. Kevin@xxxxxxxxxxxxxxx (work) Orlando, Florida kmk@xxxxxxxxxxxxxx (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlZEumwACgkQVKC1jlbQAQciqwCeNRjcqFps3ZNtisqM3UI2rlQn 3NMAn2DAvJuycgyFnDTf10jP3y4Gu8x9 =lCLu -----END PGP SIGNATURE----- -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html