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

1 messages from 2006-02-22 to 2006-02-22. Participants: Jonas Fonseca.
Thread: https://gitlist.dev/t/3427

## Jonas Fonseca, 2006-02-22 00:48

Subject: [PATCH] cg-* manpages: Handle more than one `cg-cmd` per line
Message-ID: <20060222004818.GA24693@diku.dk>
URL: https://gitlist.dev/e/20060222004818.GA24693%40diku.dk

```
... 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(-)

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

```
