From owner-freebsd-bugs Fri May 8 16:53:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA14607 for freebsd-bugs-outgoing; Fri, 8 May 1998 16:53:21 -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 QAA14551 for ; Fri, 8 May 1998 16:53:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA14541; Fri, 8 May 1998 16:50:02 -0700 (PDT) Date: Fri, 8 May 1998 16:50:02 -0700 (PDT) Message-Id: <199805082350.QAA14541@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: dima@best.net (Dima Ruban) Subject: Re: bin/6557: /bin/sh && IFS Reply-To: dima@best.net (Dima Ruban) 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: dima@best.net (Dima Ruban) To: jin@george.lbl.gov (Jin Guojun) Cc: FreeBSD-gnats-submit@FreeBSD.ORG, dima@best.net Subject: Re: bin/6557: /bin/sh && IFS Date: Fri, 8 May 1998 16:46:06 -0700 (PDT) Jin Guojun writes: > This my temporary working around: > > #!/bin/sh > XXX=/1:/2:/3: > IFS=: > tmp="/0:${XXX}" > echo $tmp > > > This work-around solves many sh problems over different O.S. It's not about work-around. For example, this problem breaks GNU configure, if it uses something like this: AC_PATH_PROG(PROG, prog, /usr/bin/prog, $PROGDIR/bin:$PATH) So it really needs to be fixed. (As you can imagine, if breaks number of ports) > > -Jin > -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message