tech-userlevel archive

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

Re: Adding a simple editor to the base system

From: D'Arcy J.M. Cain <>

> On Thu, 12 Feb 2009 14:22:15 +0000
> Maybe this needs to be added to base.  Then the ND install can add ee
> and change the variable.  Individuals can still run ee, vi or ed as they
> wish but a reasonable default for edit will always exist.
> ------------ File: /usr/bin/edit -----------
> #! /bin/sh
> exec ${EDITOR:-/usr/bin/vi}

You may have missed a ":)" there...

Regarding 'vi' as a reasonable default when an inexperienced user types 
'edit' could be regarded as a joke in rather poor humour...

Home | Main Index | Thread Index | Old Index