Soo, after finding out about xargs
I got this solution instead 😅:
./linePrinter.sh | xargs -l1 -d '\n' printf '\r\r%s'
OLD
Just pipe the output in to the script: ./linePrinter.sh | ./lastLineShower.sh
!
*./linePrinter.sh
is included for demonstration (to test out the solution)