Is there a way to use pipes or FIFO in combination to continually monitor several (same format) log files whilst sorting on the first field and then being able to effectively do a tail -f on that continual, sorted output?
I can do stuff like :-
mkfifo /tmp/logfile
tail -F -q *.op > /tmp/logfile &
tail -f < /tmp/logfile
but I have tried piping that somehow through sort -k 1 but cannot get it to work.