threads / patch / 3427

patchcg-* manpages: Handle more than one `cg-cmd` per line

Subject: [PATCH] cg-* manpages: Handle more than one `cg-cmd` per line

## tl;dr

One message between Feb 22, 2006 and Feb 22, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jonas Fonseca· Feb 22, 2006, 00:48 UTC · lore
... which is the case for cg-update.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>

--- author Jonas Fonseca <fonseca@diku.dk> Wed, 22 Feb 2006 01:45:18 +0100

 Documentation/make-cg-asciidoc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to Documentation/make-cg-asciidoc +1 −1
diff --git a/Documentation/make-cg-asciidoc b/Documentation/make-cg-asciidoc
index bc31809..126d4eb 100755
--- a/Documentation/make-cg-asciidoc
+++ b/Documentation/make-cg-asciidoc
@@ -42,7 +42,7 @@ CAPTION=$(echo "$HEADER" | head -n 1 | t
 # were referenced as "`cg-command`". This way references from cg-* combos in
 # code listings will be ignored.
 BODY=$(echo "$HEADER" | sed '0,/^$/d' \
-		      | sed 's/`\(cg-[a-z-]\+\)`/gitlink:\1[1]/;s/^\(-.*\)::.*/\1::/')
+		      | sed 's/`\(cg-[a-z-]\+\)`/gitlink:\1[1]/g;s/^\(-.*\)::.*/\1::/')
 
 DESCRIPTION=
 OPTIONS=
-- 
Jonas Fonseca

← back to recent threads