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

Re: #4009: /bin/edit causes error after ae removed (fwd)

On 04-Feb-98, 07:03 (CST), Christian Schwarz <schwarz@monet.m.isar.de> wrote:
> > And Current /bin/edit is like this:
> > 
> > #!/bin/sh
> > no_exit_on_failed_exec=
> > exec ${VISUAL:-${EDITOR:-ae}} "$@"
> > exec vi "$@"
> > exec emacs "$@"
> Does someone remember what this script was for? (The advantage over
> /usr/bin/editor is that /bin/edit is in /bin, so it's available even if
> /usr isn't mounted. Since "ae" is also in /bin, /bin/edit should always
> work.)

Won't the above script only find ae if VISUAL and EDITOR *aren't* set?
Maybe there needs to be an 'exec ae "$@"' line as well, assuming we
decide to keep the script at all.


TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: