I'm trying to create an effect in bash where given a string, bash
echos it out slowly.
This is exactly what I want, but in ruby and perl:
$ ruby -e '"hello world\n".split("").each {|c| print c ; system("sleep
0.05") } ; '
$ perl -e 'for $c (split("","hello world!\n")) {print $c ;
system("sleep 0.05") } ; '
Any thoughts on how to accomplish the same in bash?
Regards,
- Robert
--
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug
To unsubscribe from this group, send email to
cwelug+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.