I needed some code to output a stream of text
without me typing . . .
In Sakura (a terminal that allows you to change font sizes)
I used the code in the following infomercial for slaxer_pup which includes Sakura
http://www.youtube.com/watch?v=E4BqXF_ZXiY
Code: Select all
#!/bin/bash
# Lobster June 2010 Sakura autocue
# run from command line with ./Script
# will read the text file "slack"
# and display one character after another in Sakura
# or any bash prompt
# data file
INPUT=slack
# while loop
clear
while IFS= read -r -n1 char
do
# display one character at a time
sleep 0.05
echo -n "$char"
done < "$INPUT"
using Openshot video editor