Parece que tienes -v
set (algo se está ejecutando set -v
).
Para revertir esto, ejecute set +v
.
set [--abefhkmnptuvxBCEHPT] [-o option-name] [arg ...] set [+abefhkmnptuvxBCEHPT] [+o option-name] [arg ...] Without options, the name and value of each shell variable are displayed in a format that can be reused as input for setting or resetting the currently-set variables. Read-only variables cannot be reset. In posix mode, only shell variables are listed. The output is sorted according to the current locale. When options are specified, they set or unset shell attributes. Any arguments remaining after option processing are treated as values for the positional parameters and are assigned, in order, to $1, $2, ... $n. Options, if specified, have the following meanings: [...] -v Print shell input lines as they are read.
Ver el bash
página de manual (bajo "Comandos incorporados de Shell ") para obtener más información sobre el set
comando integrado.
Alternativamente, ejecute help set
desde dentro de bash
para un acceso más directo al texto de ayuda.
Al menos en Bash 4.3, este comando tiene un efecto similar a set -v
:
trap 'echo "$BASH_COMMAND"' DEBUG
Para comprobar si esto te afecta, ejecuta
trap -p DEBUG
Para desactivarlo, ejecute
trap - DEBUG