Re: expand_aliases should be on for interactive shells
Joseph Michaud wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i686 > OS: cygwin > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' > -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' > -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' > -DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS -I. > -I/home/eblake/bash-3.2.17-15/src/bash-3.2 > -I/home/eblake/bash-3.2.17-15/src/bash-3.2/include > -I/home/eblake/bash-3.2.17-15/src/bash-3.2/lib -O2 -pipe > uname output: CYGWIN_NT-5.2-WOW64 HeadNode 1.5.24(0.156/4/2) 2007-01-31 > 10:57 i686 Cygwin > Machine Type: i686-pc-cygwin > > Bash Version: 3.2 > Patch Level: 17 > Release Status: release > > Description: > Despite man page description and assurance some years ago that > it would be fixed > (http://lists.gnu.org/archive/html/bug-bash/2000-11/msg00092.html), > it appears that the bash shell option "expand_aliases" is not > properly set for interactive shells. Correct. It was fixed, then dropped again. I've restored it. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. No day but today. Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://cnswww.cns.cwru.edu/~chet/ ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash
bash for loop errorr
Hello, I am having GNU bash, version 2.03.0(1)-release (sparc-sun-solaris2.6), while executing for loop # for (( i=1; i<5 ; i++ )) ; do echo $i ; done I am getting error bash: syntax error near unexpected token `((' The same for loop is working file on GNU bash, version 3.00.15(1)-release (i386-redhat-linux-gnu) Thanks in advance Vikas Dube -- View this message in context: http://www.nabble.com/bash-for-loop-errorr-tf3803071.html#a10760917 Sent from the Gnu - Bash mailing list archive at Nabble.com. ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash
Re: bash for loop errorr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Vikas Dube on 5/23/2007 4:02 AM: > Hello, > I am having GNU bash, version 2.03.0(1)-release (sparc-sun-solaris2.6), > > The same for loop is working file on GNU bash, version 3.00.15(1)-release Consider upgrading. Bash is now at 3.2, and has several new features and bug fixes above what 2.03 or even 3.0 had. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVERn84KuGfSFAYARAltIAJ9rDbFOVBxlhbwfNxzMCw55thU1iQCeImHw eKwjx0x/2D8FFkgR5S+p1aI= =oAsf -END PGP SIGNATURE- ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash
Re: bash for loop errorr
Vikas Dube wrote: > Hello, > I am having GNU bash, version 2.03.0(1)-release (sparc-sun-solaris2.6), > while executing for loop > # for (( i=1; i<5 ; i++ )) ; do echo $i ; done > I am getting error > bash: syntax error near unexpected token `((' That construct was not added to bash until version 2.04. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. No day but today. Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://cnswww.cns.cwru.edu/~chet/ ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash