I need to shift a FIGlet output (for example to the center of terminal). How can i do this? I tried
(tput sc ; tput cup 23 45 ; figlet text; tput rc)
but it doesn't work.
It isn't obligatory to use figlet, it is possible to use any program which transforms the text to "ascii art".
thanks!
Upd1: sorry, guys. "centering" was just an example. Generally it is necessary for me to shift this text for a fixed rows and cols, like
tput cup 10 10