From owner-freebsd-bugs Thu Sep 10 03:20:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA04029 for freebsd-bugs-outgoing; Thu, 10 Sep 1998 03:20:04 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA04024 for ; Thu, 10 Sep 1998 03:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id DAA00224; Thu, 10 Sep 1998 03:20:01 -0700 (PDT) Date: Thu, 10 Sep 1998 03:20:01 -0700 (PDT) Message-Id: <199809101020.DAA00224@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Martin Cracauer Subject: Re: bin/6557: /bin/sh is broken Reply-To: Martin Cracauer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/6557; it has been noted by GNATS. From: Martin Cracauer To: Garance A Drosihn , freebsd-gnats-submit@freebsd.org, dima@best.net Cc: Martin Cracauer , "Greg A. Woods" Subject: Re: bin/6557: /bin/sh is broken Date: Thu, 10 Sep 1998 12:15:18 +0200 In , Garance A Drosihn wrote: > So, what (if anything) was decided after all this discussion about > IFS handling in /bin/sh? There's no "FreeBSD" decision, but I can state my impressions: 1) The issue is utterly complex. Regarding to Posix, the semantics of $IFS change with the contents, to support every IFS construction that was formerly i use on different shells. Urgs... 2) The construct autoconf is falling over is very simple to replace with one extra variable assignment and FreeBSD's ash isn't the only one that fails to supports this construct, so I really think the autoconf people should change it. After all, the whole point of autoconf is to determine differences in systems, it shouldn't rely on non-portable behaviour, at least not when not neccessary. 3) I just ordered my Posix documents (expensive!), until they arrive, I can't really act. Said that, Thor Egge commited some syntax fixes to sh a few days ago. He did not change the basic IFS behaviour, but fixed some real bugs related to list handling. It is possible that the code you have problems with is affected by this. Could you try your example with the newest sh from -current and give us feedback (or post the code)? Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 Paper: (private) Waldstrasse 200, 22846 Norderstedt, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message