Git development
 help / color / mirror / Atom feed
From: Petr Baudis <pasky@suse.cz>
To: sean <seanlkml@sympatico.ca>
Cc: morgad@eclipse.co.uk, git@vger.kernel.org
Subject: Re: problem installing latest cogito
Date: Sat, 21 Jan 2006 21:03:45 +0100	[thread overview]
Message-ID: <20060121200345.GL28365@pasky.or.cz> (raw)
In-Reply-To: <20060121144901.33b03395.seanlkml@sympatico.ca>

Dear diary, on Sat, Jan 21, 2006 at 08:49:01PM CET, I got a letter
where sean <seanlkml@sympatico.ca> said that...
> On Sat, 21 Jan 2006 20:48:26 +0100
> Petr Baudis <pasky@suse.cz> wrote:
> 
> > >                 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'

Yes, the problem goes away because then make will split that to two
lines, causing:

        sed -e 's/\${COGITO_LIB}/\${COGITO_LIB:-\/home\/xpasky\/lib\/cogito\/}/g;
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Of the 3 great composers Mozart tells us what it's like to be human,
Beethoven tells us what it's like to be Beethoven and Bach tells us
what it's like to be the universe.  -- Douglas Adams

  parent reply	other threads:[~2006-01-21 20:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-21 14:08 problem installing latest cogito dave morgan
2006-01-21 19:48 ` Petr Baudis
     [not found]   ` <20060121144901.33b03395.seanlkml@sympatico.ca>
2006-01-21 19:49     ` sean
2006-01-21 20:12       ` Junio C Hamano
2006-01-21 21:06         ` Petr Baudis
2006-01-21 21:22           ` dave morgan
2006-01-21 20:03     ` Petr Baudis [this message]
     [not found]       ` <20060121150142.4b1bb47e.seanlkml@sympatico.ca>
2006-01-21 20:01         ` sean
2006-01-21 20:08   ` dave morgan
2006-01-21 21:46     ` Petr Baudis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060121200345.GL28365@pasky.or.cz \
    --to=pasky@suse.cz \
    --cc=git@vger.kernel.org \
    --cc=morgad@eclipse.co.uk \
    --cc=seanlkml@sympatico.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox