Subject: echo -n vs. echo ... \c
To: None <tech-pkg@netbsd.org>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 04/06/2004 16:14:10
Regarding the Linux patch posted about echo, and related things:
Interix does indeed have an "echo" that doesn't recognize "-n" at all. In
fact, the SUSv2/OGBS6 definition of "echo" explicitly *dis*allows the use of
"-n", and requires use of trailing "\c" instead. So "\c" is, in effect, the
Unix(tm) Standard....
Perhaps a better idea would be to check the pkgsrc-supported platforms for
availability of "\c"?
--
-- Todd Vierling <tv@duh.org> <tv@pobox.com>