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

Re: [PATCH 4/5] update_unicode.sh: Make the output structure visible

From
Jeff King <peff@peff.net>
Date
Dec 19, 2014, 15:48 UTC
Message-ID
<20141219154810.GB16967@peff.net>
In-Reply-To
<549447B7.8070602@ewanet.ch>
On Fri, Dec 19, 2014 at 04:43:51PM +0100, Beat Bolli wrote:
Show 5 quoted lines
> I think the code looks much nicer with a here doc.
> 
> Checking in t/, it looks that there's no consensus about whether to
> indent the content relative to the cat statement or not. What do you
> suggest?

I think we typically do it at the same level as the `cat`. Checking "git grep -A1 '<<-'" does show a mix, but skimming over it I think what I suggested is more common.

-Peff
Previous: Beat BolliNext: dev+git@drbeat.li
Message 7 of 9 in “update_unicode.sh: simplify output capture”
  1. 1/5 update_unicode.sh: simplify output capturedev+git@drbeat.li, Dec 19, 2014
  2. 2/5 update_unicode.sh: set UNICODE_DIR only oncedev+git@drbeat.li, Dec 19, 2014
  3. 3/5 update_unicode.sh: shorten uniset invocation pathdev+git@drbeat.li, Dec 19, 2014
  4. 4/5 update_unicode.sh: Make the output structure visibledev+git@drbeat.li, Dec 19, 2014
  5. Jeff KingDec 19, 2014
  6. Beat BolliDec 19, 2014
  7. Jeff KingDec 19, 2014
  8. 5/5 update_unicode.sh: Delete the command groupdev+git@drbeat.li, Dec 19, 2014
  9. Beat BolliDec 19, 2014

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.