I am stuck in my Bash script again, this time I need to do something complex; I want to echo a line and then after 1 second "modify" the previous line to something else.
Here's a GIF of what I want to do (I did it in GIMP):

(Ofcourse I don't want it to loop, but I want to increment the number in the end of the last line and update the string after 1 second.)
A simple approach would be to clear the screen and print everything again, but that's too lame and a little slow if there's lots of content to clear and echo again.. Can anyone help me? Thanks!