On 4/5/20 8:45 PM, Ami Fischman wrote: > On Sun, Apr 5, 2020 at 12:43 PM Chet Ramey <chet.ra...@case.edu> wrote: >> Hence the discussion topic: should bash disable set -v when executing >> the DEBUG trap, should it do that just while running commands from a >> file while running `fc', or should it continue with its current behavior? > > Thanks for clarifying the parameter space. > For my purposes either of the first 2 options would work, but my only use of > DEBUGhas been to muck with terminal state this way, so possibly users of DEBUG > withless-visible side-effects would prefer it to stay as-is. Not sure if such > usages exist orhow to trade-off the use-cases against each other.
I'm going to go with a variant of 2: a more general facility that only the `fc' builtin uses. It will be in the next devel branch push. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/