Query or set the internal variable that controls the echo state. It may be the sum of the following values:
- 1
- Echo commands read from script files.
- 2
- Echo commands from functions.
- 4
- Echo commands read from command line.
More than one state can be active at once. For example, a value of 3 is equivalent to the command echo on all.
The value of
echo_executing_commands
is set by the echo command and the command line option--echo-input
.