#!/bin/bash tput sc while IFS= read -r pipe; do tput rc; tput el printf "%s" "$pipe" done echo