On 2/26/19 7:26 PM, L A Walsh wrote: >>> Nor do I see where function-tracing and error tracing are defined. >>> >> >> set -o functrace/set -T >> set -o errtrace/set -E >> > -- >> >>> Are they defined "somewhere"? Maybe a short note as to what they >>> are might be added to the manpage where the terms are used (under >>> description of shopt+extdebug)?
The existing text describes the behavior pretty well: 5. Function tracing is enabled: command substitu- tion, shell functions, and subshells invoked with ( command ) inherit the DEBUG and RETURN traps. 6. Error tracing is enabled: command substitution, shell functions, and subshells invoked with ( command ) inherit the ERR trap. To be clear, you're suggesting that I add something to the `extdebug' section to explain how these features can be enabled separately from `extdebug'? -- ``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/