From owner-freebsd-stable@FreeBSD.ORG Fri Mar 3 22:05:54 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 325F216A423 for ; Fri, 3 Mar 2006 22:05:54 +0000 (GMT) (envelope-from cbuisson@nerim.net) Received: from kraid.nerim.net (smtp-105-friday.nerim.net [62.4.16.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8118443D67 for ; Fri, 3 Mar 2006 22:05:52 +0000 (GMT) (envelope-from cbuisson@nerim.net) Received: from localhost (cbuisson.pck.nerim.net [80.65.227.128]) by kraid.nerim.net (Postfix) with ESMTP id 86B8E40E27; Fri, 3 Mar 2006 23:05:49 +0100 (CET) Message-ID: <4408BDBE.8080108@nerim.net> Date: Fri, 03 Mar 2006 23:05:50 +0100 From: Claude Buisson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050927 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nicolas Rachinsky References: <20060303154745.9f36059f.b3k@mail.ru> <20060303105609.GA68280@mid.pc5.i.0x5.de> <20060303161037.fa944a65.b3k@mail.ru> <20060303112026.GA10522@mid.pc5.i.0x5.de> In-Reply-To: <20060303112026.GA10522@mid.pc5.i.0x5.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.ORG Subject: Re: configure scripts ignores parameters X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 22:05:54 -0000 Nicolas Rachinsky wrote: > * "Elisey O. Savateev" [2006-03-03 16:10 +0500]: > >>Fri, 3 Mar 2006 11:56:09 +0100 >>Nicolas Rachinsky wrote: >> >> >>>Do you have shells/bash (bash-3.1.10) installed? >>> >> >> Yes. I have. > > > > I had one problem here, but unfortunately not the time to really look > at it (and I don't have time to try it again). > > My bash3 here did not correctly process > | for foo > | do echo "$foo" > | done > A similar contruct seems to be in some (most, all?) configure scripts, > which automatically use bash to be executed (if it's available). > > I installed shells/bash2 (bash-2.05b.007_4) and my problem > disappeared. Here (bash built WITHOUT_NLS) claude@portege$ uname -a FreeBSD portege.home.tbf 4.11-STABLE FreeBSD 4.11-STABLE #0: Mon Feb 6 23:18:24 CET 2006 toor@portege.home.tbf:/home/obj/home/src/sys/PORTEGE4X i386 claude@portege$ bash --version GNU bash, version 3.1.10(0)-release (i386-portbld-freebsd4.11) Copyright (C) 2005 Free Software Foundation, Inc. claude@portege$ cat test.bash #!/usr/local/bin/bash for i do echo $i done claude@portege$ ./test.bash 1 2 3 4 1 2 3 4 claude@portege$ cat test1.bash #!/usr/local/bin/bash for i do echo "$i" done claude@portege$ ./test1.bash 1 2 3 4 1 2 3 4 claude@portege$ > > HTH, > Nicolas > Claude Buisson