Hi all,
as you probably know, you can list a text file with cat
showing LFs and TABs (as $ and ^I respectively).
Code:
from the cat man:
-E, --show-ends
display $ at end of each line
-T, --show-tabs
display TAB characters as ^I
My question is:
How can I substitute the aforementioned codes
($ and ^I) with a reversed blank?
In other words, how can I obtain reverse (or color
and flashing) effects?
My attempts are (from the web):
Code:
esc=`echo -e '\033'`
bright="${esc}[7m"
endbright="${esc}[0m"
echo "${bright}ERROR${endbright}: can't read file"
It displays ERROR in reverse,
However, the same as above doesn't work in
file listings...
Bye.