Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grepping for a pattern with white space 1

Status
Not open for further replies.
Since the only colons in your example are in the time, you could do this...
Code:
grep "[^:]09:" < catalina.2011-09-08.log


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top