On Fri, 5 Jun 2009 18:41:07 +0300, Ville Skyttä wrote:

> On Friday 05 June 2009, David Paleino wrote:
> 
> Hi David,

Hello Ville,

> > The following commit has been merged in the master branch:
> > commit 6170eb0001510426ccc7461e60e46c68992bcd14
> > Author: David Paleino <d.pale...@gmail.com>
> > Date:   Fri Jun 5 08:13:46 2009 +0200
> >
> >     Don't assume "sed" being GNU sed, use "gsed" whenever available
> > (Debian: #501479, Alioth: #311393)
> [...]
> > @@ -3673,3 +3673,6 @@ unset UNAME USERLAND default dirnames filenames have
> > nospace bashdefault plusdir
> >
> >  set $BASH_COMPLETION_ORIGINAL_V_VALUE
> >  unset BASH_COMPLETION_ORIGINAL_V_VALUE
> > +
> > +# remove aliases we set earlier
> > +unalias sed
> 
> Like I explained in Alioth #311393, I believe the unalias here is wrong - it 
> results in our aliased sed being in effect only for the duration of reading 
> bash_completion and the split files, not at runtime when sed gets actually 
> invoked and we for now want it to cope with GNU sed extensions.

Ok, good.
What about:

alias mysed=sed
have gsed && alias mysed=gsed

?

(we can obviously change "mysed" to something else, it's just to clarify the
solution)

> Did I miss something?

It's me who actually missed your point, sorry.

Commit reverted,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to