delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/09/05/15:49:10

From: "Paul D. Smith" <psmith AT BayNetworks DOT COM>
MIME-Version: 1.0
Message-ID: <14290.49671.421714.778878@baynetworks.com>
Date: Sun, 5 Sep 1999 15:18:31 -0400 (EDT)
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>,
Laszlo Molnar <laszlo DOT molnar AT eth DOT ericsson DOT se>,
djgpp-workers AT delorie DOT com
Subject: Re: Make 3.78 is in pretest (fwd)
In-Reply-To: <Pine.SUN.3.91.990905154509.20300a-100000@is>
References: <14275 DOT 64667 DOT 739010 DOT 922179 AT baynetworks DOT com>
<Pine DOT SUN DOT 3 DOT 91 DOT 990905154509 DOT 20300a-100000 AT is>
X-Mailer: VM 6.73 under Emacs 20.4.1
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

%% 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019