Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2001 08:50:02 -0800 (PST)
From:      Mike Heffner <mheffner@novacoxmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/32935: /bin/sh builtin echo command
Message-ID:  <200112311650.fBVGo2Q50563@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/32935; it has been noted by GNATS.

From: Mike Heffner <mheffner@novacoxmail.com>
To: Sheldon Hearn <sheldonh@starjuice.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/32935: /bin/sh builtin echo command
Date: Mon, 31 Dec 2001 11:46:20 -0500 (EST)

 On 31-Dec-2001 Sheldon Hearn wrote:
 | 
 | 
 | On Mon, 31 Dec 2001 03:05:51 EST, Mike Heffner wrote:
 | 
 |> Looks ok, except that I think in the '#define eflag 1' case it should
 |> still accept '-ne' as valid and just ignore the 'e'. How about this:
 | 
 | Thanks, Mike.
 | 
 | But why would you want to accept an option that you don't support?
 | 
 | Personally, I don't think -e support needs to be optional. :-)
 | 
 
 Well, I guess I'm not sure as to the context of when the defined eflag
 override is used. IMO, if a shell script is using 'echo -e blah', then it
 shouldn't break on an 'echo' that has been compiled with the eflag
 implicitly enabled. Also, I was just following the original broken code, so
 that the previous test case would work as before. ;)
 
 Mike
 
 -- 
   Mike Heffner     <mheffner@[acm.]vt.edu>
   Fredericksburg, VA   <mikeh@FreeBSD.org>
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112311650.fBVGo2Q50563>