Hello,
Not too long ago SQLite3 shell got a colored startup message about using
“transient in-memory database”.
I was wondering if the same idea could be used to highlight the *CURRENT* entry
in the timeline (with some soft color – a shade of blue or green would be nice).
This is because in a
Thus said "Tony Papadimitriou" on Thu, 01 Oct 2015 15:29:05 +0300:
> I was wondering if the same idea could be used to highlight the
> *CURRENT* entry in the timeline (with some soft color---a shade of
> blue or green would be nice).
You mean like this:
fossil time | sed -e
Thus said "Tony Papadimitriou" on Thu, 01 Oct 2015 19:19:55 +0300:
> 1. highlight the whole entry, not just the word *CURRENT*, and
fossil time | sed -e '/\*CURRENT\*/ { s/.*/^[[1;32m&^[[0;m/ }'
I don't know how to detect the current foreground color so if you can
figure that out, you can
I didn't actually try it but from what it looks like, yes, almost, BUT
1. highlight the whole entry, not just the word *CURRENT*, and
2. it should also work without ANSI escape sequence under Windows console.
Also, the best 'color' would probably be just bold print to make it stand
out from
My favourite tool for this sort of thing is supercat:
http://supercat.nosredna.net/
I don't know if it compiles on Windows.
On 2 October 2015 at 01:08, Andy Bradford wrote:
> Thus said "Tony Papadimitriou" on Thu, 01 Oct 2015 19:19:55 +0300:
>
> > 1. highlight the
5 matches
Mail list logo