On Mon, Aug 13, 2018 at 5:05 AM Johannes Schindelin
<[email protected]> wrote:
>
> Hi Stefan,
>
> On Fri, 10 Aug 2018, Stefan Beller wrote:
>
> > +test_expect_success 'dual-coloring' '
> > +     sed -e "s|^:||" >expect <<-\EOF &&
> > +     :<YELLOW>1:  a4b3333 = 1:  f686024 s/5/A/<RESET>
> > +     :<RED>2:  f51d370 <RESET><YELLOW>!<RESET><GREEN> 2:  
> > 4ab067d<RESET><YELLOW> s/4/A/<RESET>
> > +     :    <REVERSE><CYAN>@@ -2,6 +2,8 @@<RESET>
>
> That's a neat trick to have an indented here-doc that contains
> indentation. I should use this myself.

Thanks to Junio for applying this trick!

Reply via email to