Re: eval in functions in pipelines doesn't set variables globally

2006-02-13 Thread Sven Wegener
On Mon, Feb 13, 2006 at 04:19:42PM +0100, [EMAIL PROTECTED] wrote: > Configuration Information [Automatically generated, do not change]: > Machine: sparc > OS: solaris2.8 > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' > -DCONF_OSTYPE='solaris2.8' -DCONF_MACHTYPE='s

Re: eval in functions in pipelines doesn't set variables globally

2006-02-13 Thread Chet Ramey
> Machine Type: sparc-sun-solaris2.8 > > Bash Version: 3.1 > Patch Level: 0 > Release Status: release > > Description: > Normally, the eval builtin used in functions to set variables > makes these variables available globally otutside the function. > However, when the function g

Re: eval in functions in pipelines doesn't set variables globally

2006-02-13 Thread Paul Jarc
[EMAIL PROTECTED] wrote: > Normally, the eval builtin used in functions to set variables > makes these variables available globally otutside the function. > However, when the function gets input from a pipline, the variables > are set only locally. Read the bash FAQ, entry