Mail Archives: djgpp-workers/1999/09/05/15:49:10
%% Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> writes:
ez> While running tests in different environments, I found something that
ez> looks like a bug: "echo" is not mentioned as the built-in shell
ez> command for the Unixy shell. The reason is that the original Unix
ez> code doesn't do that either (see sh_cmds[] array in
ez> job.c:construct_command_argv_internal).
ez> I suspect that this is a bug, at least in the MSDOS branch, but before
ez> I go ahead and add "echo", could you please tell why does the Unix
ez> version omits it?
Because many UNIX shells don't have a builtin echo. In fact, I'd say
the large majority of /bin/sh's on UNIX systems don't have one, and
/bin/sh is the shell make defaults to using.
If all MSDOS shells do have it (what's out there besides bash?), then
there's no reason not to introduce it for MSDOS, tho.
I'll look at the rest of these changes, thx.
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith AT baynetworks DOT com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.
- Raw text -