Nicolas Rachinsky wrote:
* "Elisey O. Savateev" <[EMAIL PROTECTED]> [2006-03-03 16:10 +0500]:

Fri, 3 Mar 2006 11:56:09 +0100
Nicolas Rachinsky <[EMAIL PROTECTED]> 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)

[EMAIL PROTECTED] uname -a
FreeBSD portege.home.tbf 4.11-STABLE FreeBSD 4.11-STABLE #0: Mon Feb  6
23:18:24 CET 2006
[EMAIL PROTECTED]:/home/obj/home/src/sys/PORTEGE4X  i386
[EMAIL PROTECTED] bash --version
GNU bash, version 3.1.10(0)-release (i386-portbld-freebsd4.11)
Copyright (C) 2005 Free Software Foundation, Inc.
[EMAIL PROTECTED] cat test.bash
#!/usr/local/bin/bash
for i
do
echo $i
done
[EMAIL PROTECTED] ./test.bash 1 2 3 4
1
2
3
4
[EMAIL PROTECTED] cat test1.bash
#!/usr/local/bin/bash
for i
do
echo "$i"
done
[EMAIL PROTECTED] ./test1.bash 1 2 3 4
1
2
3
4
[EMAIL PROTECTED]


HTH,
Nicolas


Claude Buisson
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to