help-bash
[Top][All Lists]
Advanced

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

Colour certain parts of a string


From: uzibalqa
Subject: Colour certain parts of a string
Date: Mon, 20 Mar 2023 13:40:35 +0000

I would like to take a string and colour certain parts by calling a function 
named "glow".

For instance, the following would colour the square brackets in blue whilst 
keeping the 
rest at the default terminal colour.

glow "[" "]" $str 




reply via email to

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