[Bash-completion-devel] unalias sed? (was: Re: [Bash-completion-commits] [SCM] bash-completion branch, master, updated. b14fdb74b3b7fd7a707bc2afea55c10ea521d4f0)

Ville Skyttä ville.skytta at iki.fi
Fri Jun 5 15:41:07 UTC 2009


On Friday 05 June 2009, David Paleino wrote:

Hi David,

> The following commit has been merged in the master branch:
> commit 6170eb0001510426ccc7461e60e46c68992bcd14
> Author: David Paleino <d.paleino at 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.  Did I miss 
something?



More information about the Bash-completion-devel mailing list