Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [djgpp/commit] Fix the DJGPP build of GDB
Date: Sat, 05 Sep 2009 16:18:00 -0000	[thread overview]
Message-ID: <83d4654bat.fsf@gnu.org> (raw)
In-Reply-To: <m2bplp8jk9.fsf@igel.home>

> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: gdb-patches@sourceware.org
> Date: Sat, 05 Sep 2009 18:04:06 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > @@ -2,31 +2,37 @@
> >  s|gdb\.c++|gdb.cxx|g
> >  /ac_rel_source/s|ln -s|cp -p|
> >  s|\.gdbinit|gdb.ini|g
> > +# This works around a bug in DJGPP port of Bash 2.0x
> > +s|return $ac_retval|(&)|g
> 
> Looks like you missed escaping the $.

It works regardless.  The GNU Sed manual says:

`$'
     It is the same as `^', but refers to end of line.  `$' also acts
     as a special character only at the end of the regular expression
     or subexpression [...]

Is this a GNU-specific Sed extension?  (I don't mind making it more
portable, even if it is, although DJGPP uses GNU Sed.)

Thanks.


  reply	other threads:[~2009-09-05 16:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-05 15:45 Eli Zaretskii
2009-09-05 16:04 ` Andreas Schwab
2009-09-05 16:18   ` Eli Zaretskii [this message]
2009-09-05 18:10     ` Andreas Schwab

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=83d4654bat.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=schwab@linux-m68k.org \
    /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