tail -f somefile | grep -i something | cut -f 5
What I want is the 'edited highlights' of a process that writes lots of stuff to a log file. But it doesn't, if I use -f. If I tail the file normally then it'll do as it's told, but with -f it just sits there and never finds 'something' even if 'something' has been written to 'somefile'.
Is this a standard Unix behaviour, or is it perhaps Tru64 specific? (I don't have any other Unices at my disposal right now to do a comparison, but if I remember I'll give it a whirl on OS X tonight.)
Cheers,
John.