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 regexThe 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