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 <amb-fos...@bradfords.org> wrote:

> 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 put it in there instead of green.
>
> > 2. it should also work without ANSI escape sequence under Windows
> console.
>
> Someone using Windows will have to do this.
>
> The point  is, fossil output  can be wrapped in  any tool that  makes it
> prettier for your eyes.
>
> Andy
> --
> TAI64 timestamp: 40000000560d68a8
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to