I want to create a little animation in the stdout of the terminal using printf. So far I figured out how to replace the last line with
#!/bin/csh -f
printf "text1"
printf "text2"
sleep 1
printf "\r replaced text2"
How do I replace both lines?
printf "\r\r replace text1"
does not work....