From owner-freebsd-current Mon Oct 26 17:21:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA19230 for freebsd-current-outgoing; Mon, 26 Oct 1998 17:21:49 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail1.its.rpi.edu (mail1.its.rpi.edu [128.113.100.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA19224 for ; Mon, 26 Oct 1998 17:21:46 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail1.its.rpi.edu (8.8.8/8.8.6) with ESMTP id UAA126840; Mon, 26 Oct 1998 20:21:58 -0500 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Sender: drosih@pop1.rpi.edu Message-Id: In-Reply-To: <199810270040.RAA29779@usr07.primenet.com> References: from "Garance A Drosihn" at Oct 26, 98 04:07:00 pm Date: Mon, 26 Oct 1998 20:20:53 -0500 To: Terry Lambert From: Garance A Drosihn Subject: Re: Shells for you and shells for me Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:40 AM +0000 10/27/98, Terry Lambert wrote: >> To give a recent example I've stumbled across, a few 'autoconf'- >> generated scripts will not work under freebsd, due to the way our >> /bin/sh handles IFS processing. This is more than a someone wanting >> tab completion or ~ expansion in /bin/sh, it's a practical issue when >> porting software. > >Yes, recursive macro expansion does not work; that's either a "make" >issue or a "sh" issue, depending on where you want to push the blame. Hmm. For the problem I ran into, I wouldn't think of it as recursive macro expansion. Seems to me that it's just a difference in how IFS processing is handled. The following script will show the issue I happened to run into: ftp://eclipse.its.rpi.edu/pub/fbsd/bugs/ifs_bug.sh (that script doesn't have 'make' in it at all, so I suspect you're referring to a different issue than the one I tripped into). The above script "works" under many bourne-like shells, although there is some reason to believe that it should not work (and it does not work under FreeBSD's /bin/sh). --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message