Victor Porton <porton@perm.raid.ru> writes:
> It would be good to have possibility to print something before each
> interactive command line execution. This can be done by adding the new shell
> variable BEFORECOMMAND with commands which should be executed before every
> user-entered command line.
If I understand you, this functionality is already available in the
PROMPT_COMMAND variable and command substitution in PS1.
paul