Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Parse apache error_log
- X-seq: zsh-users 20173
- From: zzapper <david@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Parse apache error_log
- Date: Fri, 1 May 2015 15:41:37 +0000 (UTC)
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Your Company
Hi
Don't know if this is a job for zsh or sed etc
Format:-
[Fri May 01 16:25:05 2015] [error] [client 172.18.158.61] PHP Parse error:
syntax error, unexpected T_VARIABLE
I want to grab the date-time of the last entry and then display all the
entries with the same date-time.
This means I get all the entries associated with one bug
ideas?
--
zzapper
https://twitter.com/dailyzshtip
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author