Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 1998 20:20:53 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Shells for you and shells for me
Message-ID:  <v04011706b25acd840f27@[128.113.24.47]>
In-Reply-To: <199810270040.RAA29779@usr07.primenet.com>
References:  <v04011703b25a8ff095ff@[128.113.24.47]> from "Garance A Drosihn" at Oct 26, 98 04:07:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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



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