Skip to contentSkip to conversation

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

PATCH New Jonas Fonseca 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cg-* manpages: Handle more than one `cg-cmd` per line

... which is the case for cg-update.

---
author Jonas Fonseca <[email protected]> Wed, 22 Feb 2006 01:45:18 +0100

 Documentation/make-cg-asciidoc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/make-cg-asciidoc +1 -1
index bc31809..126d4eb 100755
@@ -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=
Signature · 1 line
Jonas Fonseca