perl -ne '$|=1; foreach $_ (split //) {print; select(undef,undef,undef +,0.01);}' [filenames...]
Or, as a script file:
#!/usr/bin/perl -w # slowprint.pl, by Weyfour WWWWolf (Urpo Lankinen) # Use however you want, but keep my name here. No warranty. use strict; BEGIN { $|=1; } while(<>) { foreach $_ (split //) { print; select(undef,undef,undef,0.01); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Print out file slowly
by WWWWolf (Initiate) on Feb 08, 2000 at 19:19 UTC | |
|
RE: Print out file slowly
by Anonymous Monk on Mar 25, 2000 at 17:35 UTC |