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



jklowden%schemamania.org@localhost writes:
> Joerg Sonnenberger wrote:
> > I am a bit warry about naming it "ee" 
> 
> A good point, really.  What would be so bad about calling it "edit"?  

The reference implementation :-) uses "edit" as a synonym of "ex".

% uname -sr
SunOS 5.8
% ls -li /usr/bin/{ed,red,ex,vi,view,edit,vedit}
    202493 -r-xr-xr-x   2 root     bin        43844 Nov 25  2003 /usr/bin/ed
    202799 -r-xr-xr-x   5 root     bin       226656 Nov 25  2003 /usr/bin/edit
    202799 -r-xr-xr-x   5 root     bin       226656 Nov 25  2003 /usr/bin/ex
    202493 -r-xr-xr-x   2 root     bin        43844 Nov 25  2003 /usr/bin/red
    202799 -r-xr-xr-x   5 root     bin       226656 Nov 25  2003 /usr/bin/vedit
    202799 -r-xr-xr-x   5 root     bin       226656 Nov 25  2003 /usr/bin/vi
    202799 -r-xr-xr-x   5 root     bin       226656 Nov 25  2003 /usr/bin/view
% ls -l /usr/ucb/{e,ex,vi,view,edit,vedit}
lrwxrwxrwx   1 root     root      9 Aug 27  2003 /usr/ucb/e -> ../bin/ex
lrwxrwxrwx   1 root     root     11 Aug 27  2003 /usr/ucb/edit -> ../bin/edit
lrwxrwxrwx   1 root     root      9 Aug 27  2003 /usr/ucb/ex -> ../bin/ex
lrwxrwxrwx   1 root     root     12 Aug 27  2003 /usr/ucb/vedit -> ../bin/vedit
lrwxrwxrwx   1 root     root      9 Aug 27  2003 /usr/ucb/vi -> ../bin/vi
lrwxrwxrwx   1 root     root     11 Aug 27  2003 /usr/ucb/view -> ../bin/view
% edit
:ver
Version SVR4.0, Solaris 2.5.0
:q
%
-- 
ITOH Yasufumi


Home | Main Index | Thread Index | Old Index