Ok so let's say I have a file called system.log
, inside this file are thousands of lines of log stuff.
Within those lines are a couple of lines I'd like to see.
Jun 20 18:28:54 Wills-MacBook-Pro SpringBoard[75216]: MyApp
initialized.
Jun 20 18:28:54 Wills-MacBook-Pro SpringBoard[75216]: MyApp error on
line 2
I'd like to see them in console, but not
Jun 20 18:28:54 Wills-MacBook-Pro SpringBoard[75216]: SomethingElse initialized.
Sort of like a
tail -f system.log (echo if MyApp in line)
Is something like this possible?