On 6/29/20 10:28 PM, Dale R. Worley wrote:
> Robert Elz writes:
>> The NetBSD sh (this time alone I believe) also has a -X (not that part, I
>> think one or two other shells also have unrelated -X options) which acts
>> just like -X, except it locks the output to stderr as it is at the time
>> the -X option is enabled (until -X is unset). [...]
>
> I can see significant benefits to that. At times, I've been thwarted in
> tracing things by redirection of stderr.
exec {BASH_XTRACEFD}>/tmp/trace-file
set -x
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/