From owner-freebsd-stable Thu Mar 15 11:34:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 9614137B719; Thu, 15 Mar 2001 11:34:22 -0800 (PST) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id LAA23540; Thu, 15 Mar 2001 11:33:33 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda23538; Thu Mar 15 11:33:20 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.2/8.9.1) id f2FJXEH37421; Thu, 15 Mar 2001 11:33:14 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdG37406; Thu Mar 15 11:32:31 2001 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.3/8.9.1) id f2FJWUP56905; Thu, 15 Mar 2001 11:32:30 -0800 (PST) Message-Id: <200103151932.f2FJWUP56905@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdP56866; Thu Mar 15 11:32:28 2001 X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: schubert To: Stijn Hoop , ache@nagual.pp.ru Cc: freebsd-stable@FreeBSD.ORG, tcsh-bugs@mx.gw.com, current@FreeBSD.ORG Subject: Re: FWD: tcsh 6.10.00 echo;echo;echo; bug with fix In-reply-to: Your message of "Wed, 14 Mar 2001 09:41:35 +0100." <20010314094135.B361@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 15 Mar 2001 11:32:28 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG All implementations of csh and tcsh do this. I've tested this on Solaris csh, Tru64-UNIX csh, and DG/UX csh. Their implementations of csh behave the same as tcsh does, so does 44bsd-csh in the FreeBSD ports collection. This is not a bug, or if it is a bug it's been there since the beginning of csh. If your patch is implemented, we will lose compatibility with other implementations of csh, notably vendor implementations, making csh scripts incompatible across platforms. Under csh you need to: echo ''; echo ''; echo ''; I think maintaining compatibility across platforms is more important than adjusting tcsh's quirky behaviour, which BTW matches the quirky behaviour of the original csh on other platforms, rather than to have csh conform to what the Bourne family of shells do. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC In message <20010314094135.B361@pcwin002.win.tue.nl>, Stijn Hoop writes: > Hi, > > this bug also exists in 4.3-BETA as of today; is this fixable in time for > 4.3 ? > > --Stijn > > ----- Forwarded message from "Andrey A. Chernov" ----- > > From: "Andrey A. Chernov" > To: tcsh-bugs@mx.gw.com > Cc: current@freebsd.org > Subject: tcsh 6.10.00 echo;echo;echo; bug with fix > > echo;echo;echo; must output 3 new lines but currently not due to obvious > bug: > > --- sh.func.c.bak Fri Dec 1 01:18:27 2000 > +++ sh.func.c Tue Mar 13 13:04:54 2001 > @@ -1147,7 +1147,7 @@ > #endif /* BSDSIGS */ > v++; > if (*v == 0) > - return; > + goto done; > gflag = 0, tglob(v); > if (gflag) { > v = globall(v); > > -- > Andrey A. Chernov > http://ache.pp.ru/ > > ----- End forwarded message ----- > > -- > If today is the first day of the rest of your life, what the hell was > yesterday? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message