[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
colored verbose
From: |
lacsaP Patatetom |
Subject: |
colored verbose |
Date: |
Wed, 8 Nov 2023 11:26:36 +0100 |
hi,
is it possible to distinguish the lines displayed by bash's verbose mode by
coloring them ?
for example, with this little script, make the first and third displayed
lines stand out by coloring them :
bash -v <<~~~
echo hello world
seq 5
~~~
echo hello world
hello world
seq 5
1
2
3
4
5
I can color script comments by adding control characters (#\[1;34m colored
comment\[0m) that are executed when a comment is displayed, but it's not
very practical or aesthetic...
regards, lacsaP.
- colored verbose,
lacsaP Patatetom <=
Re: colored verbose, alex xmb sw ratchev, 2023/11/08