git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date
May 19, 2009, 18:44 UTC
Message-ID
<20090519184402.GA27352@pengutronix.de>
In-Reply-To
<36ca99e90905190633l46fff979jecb61d4d0d907815@mail.gmail.com>
Hi Bert,
On Tue, May 19, 2009 at 03:33:16PM +0200, Bert Wesarg wrote:
Show 16 quoted lines
> On Tue, May 19, 2009 at 15:28, martin f krafft <madduck@debian.org> wrote:
> > also sprach Bert Wesarg <bert.wesarg@googlemail.com> [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/  |
Previous: Bert WesargNext: Bert Wesarg
Message 17 of 18 in “tg-graph: print dependency graph like git log --graph”
  1. tg-graph: print dependency graph like git log --graphBert Wesarg, May 19, 2009
  2. Michael RadziejMay 19, 2009
  3. Bert WesargMay 19, 2009
  4. Michael RadziejMay 19, 2009
  5. Bert WesargMay 19, 2009
  6. Bert WesargMay 19, 2009
  7. Michael RadziejMay 19, 2009
  8. Bert WesargMay 19, 2009
  9. Michael RadziejMay 19, 2009
  10. Bert WesargMay 19, 2009
  11. Michael RadziejMay 19, 2009
  12. Bert WesargMay 19, 2009
  13. Bert WesargMay 19, 2009
  14. Bert WesargMay 19, 2009
  15. martin f krafftMay 19, 2009
  16. Bert WesargMay 19, 2009
  17. Uwe Kleine-KönigMay 19, 2009
  18. Bert WesargMay 20, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.