The future is already here — it's just not very evenly distributed.

Making Multiple File Tails Easy to Follow

June 26, 2012

If you have ever used tail to follow multiple files, you will notice that it can be a real pain to read what data is coming from what file. Here is some quick perl I use to make it a bit easier:

You can of course extend this to a full out perl script that processes data as follows:

Now you can just pipe whatever data you want into the above script:

  •   •   •   •   •