1 |
On Monday 28 January 2008 15:15:09 Etaoin Shrdlu wrote: |
2 |
|
3 |
> The solution Mick previously found seems to work just fine even |
4 |
> with /var/log/emerge.log: |
5 |
> |
6 |
> # grep completed /var/log/emerge.log | perl -pe 's/(\d+)/localtime($1)/e' |
7 |
> Tue Nov 2 16:57:54 2004: ::: completed emerge (1 of 1) |
8 |
> sys-apps/portage-2.0.51-r2 to / |
9 |
> Tue Nov 2 16:58:54 2004: ::: completed emerge (1 of 1) |
10 |
> sys-apps/portage-2.0.51-r2 to / |
11 |
> ... |
12 |
|
13 |
Yes, it does here too*. I'm still scratching my head over how to pipe it |
14 |
into a command to filter grep output, but without involving much typing; |
15 |
that's why I went looking for someone else's solution. |
16 |
|
17 |
* Though I don't know what search terms he gave to Google - anything I've |
18 |
tried returns copious amounts of stuff that's no use to me. |
19 |
|
20 |
-- |
21 |
Rgds |
22 |
Peter |
23 |
-- |
24 |
gentoo-user@l.g.o mailing list |