Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: limit scope of variable



On Tue, Aug 3, 2021 at 1:41 PM Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I think you can prefix the called function with IFS=$OLDIFS.  I.e.:
>
> IFS=$OLDIFS Rays_function

Yes, but that has the possibly-unwanted side effect of exporting IFS
into the environment for everything run from within Rays_function.




Messages sorted by: Reverse Date, Date, Thread, Author