[Help-bash] Adding preceding string to the commands printed when set -v
From:
Peng Yu
Subject:
[Help-bash] Adding preceding string to the commands printed when set -v is enabled
Date:
Thu, 3 May 2012 06:16:18 -0500
Hi,
set -v can print commands automatically. But I feel that it will more
convenient if I can add some preceding string (such as ##### or
=====), so that I can easy tell what are the commands and what are the
output of the commands. Is there a way to do so?
-v Print shell input lines as they are read.
--
Regards,
Peng