I am trying to create a setup, using bash, which clears the line on command and prints a new one. Currently, I have this:
printf "\\r