I want to print a output after executing a awk command
How to represent a subscript or a superscript while using print command
eg : Ts. where character 's' is subscript of T
T2 where '2' is the superscript of T
thank you.
Shashi:
I want to print a output after executing a awk command
How to represent a subscript or a superscript while using print command
eg : Ts. where character 's' is subscript of T
T2 where '2' is the superscript of T
thank you.
Shashi:
If you're printing HTML you can use tags.
If you're trying to display on a character terminal you're probably out of luck unless it's a unicode terminal, and even then, it'd mean having to translate each individual sub-scripted character into the UTF8 code representing it before you print.
im not using it for HTML, its to display a character on the terminal. Is there any other work around to achieve this
Not really. A character terminal displays fixed-size, fixed-width characters by definition; you can't selectively resize certain bits. Change colors, yes, change size, no. The unicode subscript characters are about as good as you can get for a genuine representation of subscripts in a terminal.