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

Re: problem installing latest cogito

From
sean <seanlkml@sympatico.ca>
Date
Jan 21, 2006, 19:49 UTC
Message-ID
<BAYC1-PASMTP061F43C7F760A9FB73B616AE1E0@CEZ.ICE>
In-Reply-To
<20060121194826.GK28365@pasky.or.cz>

On Sat, 21 Jan 2006 20:48:26 +0100 Petr Baudis <pasky@suse.cz> wrote:

Show 9 quoted lines
> >                 sed -e
> > 's/\${COGITO_LIB}/\${COGITO_LIB:-\/home\/david\/lib\/cogito\/}/g; \
> > 
> > s/\${COGITO_SHARE}/\${COGITO_SHARE:-\/home\/david\/share\/cogito\/}/g'
> > \
> >                        $file > $file.new; \
> >                 cat $file.new > $file; rm $file.new; \
> >         done
> > sed: -e expression #1, char 145: unterminated address regex
The problem seems to go away if you remove the quoted end-of-line:
sed -e 's/\${COGITO_LIB}/\${COGITO_LIB:-\/home\/david\/lib\/cogito\/}/g;
        s/\${COGITO_SHARE}/\${COGITO_SHARE:-\/home\/david\/share\/cogito\/}/g'
where the following, doesn't:
sed -e 's/\${COGITO_LIB}/\${COGITO_LIB:-\/home\/david\/lib\/cogito\/}/g; \
        s/\${COGITO_SHARE}/\${COGITO_SHARE:-\/home\/david\/share\/cogito\/}/g'
Sean
Previous: Petr BaudisNext: Junio C Hamano
Message 3 of 10 in “problem installing latest cogito”
  1. dave morganJan 21, 2006
  2. Petr BaudisJan 21, 2006
  3. seanJan 21, 2006
  4. Junio C HamanoJan 21, 2006
  5. Petr BaudisJan 21, 2006
  6. dave morganJan 21, 2006
  7. dave morganJan 21, 2006
  8. Petr BaudisJan 21, 2006
  9. Petr BaudisJan 21, 2006
  10. seanJan 21, 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.