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

[PATCH] Add missing semicolon to sed command.

From
Shawn Pearce <spearce@spearce.org>
Date
Mar 20, 2006, 00:18 UTC
Message-ID
<20060320001808.GB20765@spearce.org>

generate-cmdlist.sh is giving errors messages from sed on Mac OS 10.4 due to a missing semicolon.

---
 generate-cmdlist.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

base f81e7c626f34658289594386b0273755f47912a2 last 09913c10d93adbfa61138b7ac7ae6a8a210aa29f

diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh
index 6ee85d5..76ba49c 100755
--- a/generate-cmdlist.sh
+++ b/generate-cmdlist.sh
@@ -42,7 +42,7 @@ EOF
 while read cmd
 do
     sed -n "/NAME/,/git-$cmd/H;
-	    \$ {x; s/.*git-$cmd - \\(.*\\)/  {\"$cmd\", \"\1\"},/; p}" \
+	    \$ {x; s/.*git-$cmd - \\(.*\\)/  {\"$cmd\", \"\1\"},/; p;}" \
 	"Documentation/git-$cmd.txt"
 done
 echo "};"
-- 
1.2.4.g41f6
Next: Junio C Hamano
Message 1 of 2 in “Add missing semicolon to sed command.”
  1. Add missing semicolon to sed command.Shawn Pearce, Mar 20, 2006
  2. Junio C HamanoMar 20, 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.