My current problem is: when redirecting output to a file, the file is apparently written only by the end of the process... I can't track its progress with something such as tail!
I tried using
tee, Perl, etc... it seems of no avail...
My purpose is a simple one:
mplayer *.mp3 -shuffle | grep Playing >>
You can easily tell where this is going... I want to be able to see the music now playing by looking at the last line in the file