#!/bin/bash type_text() { local text="$1" local delay="$2" local i for ((i=0; i<${#text}; i++)); do printf "%c" "${text:$i:1}" sleep "$delay" done printf "\n" } type_text "\033[3;37mNein… du hast es wirklich geschafft.\033[0m" 0.09 type_text "\033[3mAber glaub ja nicht, dass ich es dir nun einfacher mache.\033[0m" 0.09