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

Re: [PATCH] swap eval contexts for <(...) and >(...)



> 2026/04/09 15:02, dana <dana@xxxxxxx> wrote:
> 
> the documentation for zsh_eval_context says:
> 
>  insubst
>    The <(...) form of process substitution.
>  outsubst
>    The >(...) form of process substitution.
> 
> but:
> 
>  % cat <( print -r - $zsh_eval_context )
>  toplevel outsubst
>  % : >( print -r - $zsh_eval_context )
>  toplevel insubst
> 
> swapped due to perspective confusion?

Isn't it better to "fix" the man page? I don't insist, but
in the case of<(...) what the sub-shell is doing now
(= current context) is "output".

# If we modify exec.c, it might break some existing scripts,
# although the possibility is _very_ low.




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