looping .mpeg dump
- by Matt Cook
Need to dump an MPEG2 file in a loop, either to stdout or a named pipe.
This works:
$ { while : ; do cat myLoop.mpg; done; } | vlc -
This works on a text file containing "1234\n":
$ mkfifo myPipe
$ cat test.txt > myPipe & < myPipe tee -a myPipe | cat -
(it correctly loops, outputting "1234" on every line). Why does the following…