Re: [TopGit PATCH] tg-graph: print dependency graph like git log --graph

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bert,

On Tue, May 19, 2009 at 03:33:16PM +0200, Bert Wesarg wrote:
> On Tue, May 19, 2009 at 15:28, martin f krafft <madduck@xxxxxxxxxx> wrote:
> > also sprach Bert Wesarg <bert.wesarg@xxxxxxxxxxxxxx> [2009.05.19.0744 +0200]:
> >> @@ -62,12 +70,33 @@ git for-each-ref refs/top-bases |
> >>                       continue
> >>               fi
> >>               if [ -n "$graphviz" ]; then
> >> +
> >> +                     if [ -n "$graphviz_verbose" ]; then
> >> +                             type="header"
> >> +                             lines=0
> >> +                             echo "\t\"$name\" ["
> >
> > You need to pass -e to echo for it to honour escape sequences. That
> > should solve Michael's problem. Alternatively, just use ^I directly.
> Correct, thanks. Looks like a feature from bash or dash to honor
> escape sequences without -e'
quoting
http://www.gnu.org/software/hello/manual/autoconf/Limitations-of-Builtins.html#Limitations-of-Builtins:

	It is not possible to use `echo' portably unless both options
	and escape sequences are omitted.

... use printf instead.

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]