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

Re: "var=value exec > file" ignores the assignment?



2015/04/09 02:13, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:

> It's possible (likely?) your patch should add a POSIX_BUILTINS test.

In the following case:

x=$(command) exec > file

we want to execute the 'command' unconditionally, but maybe do not want to
set the value of x if POSIX_BUILTINS is unset.
I wonder what is the easiest way (if any) to achieve this.



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