bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: edit-and-execute-command in non-posix vi editing mode fails with def


From: Mike Stroyan
Subject: Re: edit-and-execute-command in non-posix vi editing mode fails with default editor
Date: Fri, 10 Mar 2006 14:47:37 -0700
User-agent: Mutt/1.5.9i

On Fri, Mar 10, 2006 at 04:40:00PM -0500, Chet Ramey wrote:
> Mike Stroyan wrote:
...
> >     Remove an extra right parenthesis from bashline.c.
> > 
> > --- bash/bashline.c~        2006-01-31 13:30:34.000000000 -0700
> > +++ bash/bashline.c 2006-03-09 12:32:24.000000000 -0700
> > @@ -800,7 +800,7 @@
> >     command being entered (if no explicit argument is given), otherwise on
> >     a command from the history file. */
> >  
> > -#define VI_EDIT_COMMAND            "fc -e \"${VISUAL:-${EDITOR:-$(command 
> > -v editor || echo vi))}}\""
> > +#define VI_EDIT_COMMAND            "fc -e \"${VISUAL:-${EDITOR:-$(command 
> > -v editor || echo vi)}}\""
> >  #define EMACS_EDIT_COMMAND "fc -e \"${VISUAL:-${EDITOR:-$(command -v 
> > editor || echo emacs)}}\""
> >  #define POSIX_VI_EDIT_COMMAND      "fc -e vi"
> 
> That's not in bash-3.1 as distributed.  It must have been added by
> Debian.
> 
> Chet

  Oops.  Now I see the debian patch that caused it.  I'll file a report
against debian.  Thanks for the reality check.

-- 
Mike Stroyan, mike.stroyan@hp.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]