If I do something like
cat myfile | myreader
cat will send the myfile contents line by line, as fast as possible to standard output.
I’d like to send the file contents line by line, but “sleep” some time after every line.
Does any of you know how this can be done?
I know it’s possible to wait in myreader but this is not the question. It’s not always possible to modify the program reading standard input or it is not desirable in my case.
You can do this: