help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Adding prefix to commands automatically printed when `se


From: Eduardo A . Bustamante López
Subject: Re: [Help-bash] Adding prefix to commands automatically printed when `set -v` is enabled
Date: Mon, 30 Mar 2015 07:34:41 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

> See the difference below. I need to print the original command line
> not some transformed version.
You can use:

  trap handler DEBUG
+ BASH_COMMAND
+ probably set -T and shopt -s extdebug
+ also there are some variables for you to play with, like BASH_LINENO et al



reply via email to

[Prev in Thread] Current Thread [Next in Thread]