2
I want to run two executables in the foreground by typing one line of code or running a shell script. These executables watch a directory and recompile some code while outputting their status to stdout.
I want the stdout to be presented in the same way as following two files in 'tail' like so:
tail -f foo.txt -f bar.txt
==> foo.txt <==
Something
==> bar.txt <==
Something else
When something changes it prints the filename before printing the output. It only prints the filename when it needs to indicate that the output is coming from the other file.
4You haven't actually asked a question. I'm not trying to be rude, but I honestly don't know what your question is after reading that. – Daniel Andersson – 2012-06-12T06:45:13.570
Sorry about that. I've added some more detail. – vaughan – 2012-06-13T01:40:21.087