Chet Ramey wrote:
2 when running scripts the script works, but get constant output of
TRACE: pid 7958: parse_and_execute: turned on CMD_IGNORE_RETURN from
comsub_ignore_return
TRACE: pid 7964: parse_and_execute: turned on CMD_IGNORE_RETURN from
comsub_ignore_return
TRACE: pid 7968: parse_and_execute: turned on CMD_IGNORE_RETURN from
comsub_ignore_return
How do I disable that?
It's a debugging message so I can get an idea of how often it happens. You
have to edit it out of the source: builtins/evalstring.c:271.
Chet
There is more debug outputs:
When I run something like:
$ find /usr | while read x; do ls "$x"; done >/dev/null
I start getting lots of bash debug output on the terminal:
TRACE: pid 24674: realloc_jobs_list: resize jobs list from 128 to 136
TRACE: pid 24674: realloc_jobs_list: j_lastj changed from 127 to 127
TRACE: pid 24674: realloc_jobs_list: j_njobs changed from 128 to 128
TRACE: pid 24674: realloc_jobs_list: js.j_ndead 128 js.c_reaped 128
TRACE: pid 24674: realloc_jobs_list: reset js.j_current (-1) and js.j_previous
(-1)
TRACE: pid 24674: compact_jobs_list: returning 128
TRACE: pid 24674: realloc_jobs_list: resize jobs list from 136 to 144
TRACE: pid 24674: realloc_jobs_list: j_lastj changed from 135 to 135
TRACE: pid 24674: realloc_jobs_list: j_njobs changed from 136 to 136
TRACE: pid 24674: realloc_jobs_list: js.j_ndead 136 js.c_reaped 136
TRACE: pid 24674: realloc_jobs_list: reset js.j_current (-1) and js.j_previous
(-1)
...
RR