On Monday 28 January 2008 15:15:09 Etaoin Shrdlu wrote:

> The solution Mick previously found seems to work just fine even
> with /var/log/emerge.log:
>
> # grep completed /var/log/emerge.log | perl -pe 's/(\d+)/localtime($1)/e'
> Tue Nov  2 16:57:54 2004:  ::: completed emerge (1 of 1)
> sys-apps/portage-2.0.51-r2 to /
> Tue Nov  2 16:58:54 2004:  ::: completed emerge (1 of 1)
> sys-apps/portage-2.0.51-r2 to /
> ...

Yes, it does here too*. I'm still scratching my head over how to pipe it 
into a command to filter grep output, but without involving much typing; 
that's why I went looking for someone else's solution.

* Though I don't know what search terms he gave to Google - anything I've 
tried returns copious amounts of stuff that's no use to me.

-- 
Rgds
Peter
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to