{"thread":{"id":"6512","subject":"[PATCH] Fix sed subst. in cogito cmd-complete script","startedAt":"2007-01-24T21:45:40Z","lastAt":"2007-01-24T21:45:40Z","messageCount":1,"participants":["Brian Moyle"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"32567","messageId":"20070124214540.GB30675@santaclara.siphon.net","threadId":"6512","inReplyTo":null,"subject":"[PATCH] Fix sed subst. in cogito cmd-complete script","fromName":"Brian Moyle","fromEmail":"bmoyle@pobox.com","sentAt":"2007-01-24T21:45:40Z","receivedAt":"2007-01-24T21:45:40Z","isPatch":true,"sender":{"key":"bmoyle@pobox.com","avatar":null},"body":"Apparently, the \"\\c\" confuses sed (v4.1.2).  Removing the '\\'.\n\nSigned-off-by: Brian Moyle <bmoyle@pobox.com>\n---\n contrib/cg-completion.bash |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/contrib/cg-completion.bash b/contrib/cg-completion.bash\nindex 428f320..4011cce 100644\n--- a/contrib/cg-completion.bash\n+++ b/contrib/cg-completion.bash\n@@ -23,7 +23,7 @@ __cg_branches()\n \n __cg_cmdlist()\n {\n-\t(cg help && cg help tag && cg help branch && cg help admin) | grep --regexp \"cg-[^ ]* \" | sed 's/^.*\\cg-\\([^ ]*\\) .*$/\\1/' | grep -v COMMAND\n+\t(cg help && cg help tag && cg help branch && cg help admin) | grep --regexp \"cg-[^ ]* \" | sed 's/^.*cg-\\([^ ]*\\) .*$/\\1/' | grep -v COMMAND\n \n }\n \n-- \n1.4.4.4\n"}]}