On 3/27/17 2:16 PM, Grisha Levit wrote:
> When the command to be fixed-up has a process substitution, `fc' prints
> out not only the fixed-up command (as expected) but also any commands that
> are part of a process substitution in the command:
>
> $ FCEDIT=':' # doesn't really matter
> $ : <(: A)
> $ fc
> : <(: A) # expected
> : A # not expected
A process substitution shell is a subshell: it's created as an exact
duplicate of the parent shell, including options. I changed this for
command substitution in bash-4.4, so we can try changing it for
process substitution.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/