bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paul Jarc
Subject: Re: eval in functions in pipelines doesn't set variables globally
Date: Mon, 13 Feb 2006 11:22:10 -0500
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

address@hidden 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 E4.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]