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

[PATCH] Fix section slicing so help options are not misplaced in cg-commit(1)

From
Jonas Fonseca <fonseca@diku.dk>
Date
May 29, 2006, 00:13 UTC
Message-ID
<20060529001334.GD2061@diku.dk>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---
95724a5a97ca466e6eaccc7f46833a015dde2f24
 Documentation/make-cg-asciidoc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
95724a5a97ca466e6eaccc7f46833a015dde2f24
diff --git a/Documentation/make-cg-asciidoc b/Documentation/make-cg-asciidoc
index 45fc981..3873618 100755
--- a/Documentation/make-cg-asciidoc
+++ b/Documentation/make-cg-asciidoc
@@ -48,7 +48,7 @@ DESCRIPTION=
 OPTIONS=
 MISC=
 
-section=$(echo "$BODY" | sed -n '1,/^[-~][-~]*[-~]$/p')
+section=$(echo "$BODY" | sed -n '1,/^[-][-]*[-]$/p')
 section_lines=$(echo "$section" | wc -l)
 lines=$(echo "$BODY" | wc -l)
 
-- 
1.3.3.gd882-dirty

-- 
Jonas Fonseca
Next: Petr Baudis
Message 1 of 2 in “Fix section slicing so help options are not misplaced in cg-commit(1)”
  1. Fix section slicing so help options are not misplaced in cg-commit(1)Jonas Fonseca, May 29, 2006
  2. Petr BaudisJun 2, 2006

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.