Subject: Re: Single user mode: ed(1) or bust
To: Eric d'Alibut <eric.halibut@gmail.com>
From: Evaldo Gardenali <evaldo@gardenali.biz>
List: netbsd-users
Date: 05/04/2007 02:44:43
Hi

If you are a vi fan, what do you have against ed? ed is just vi without 
the visual (or vi is just ed with a visual)

Evaldo

sample ed session (only keystrokes):

ed /foo/bar
/mykeywork    # will find that stuff
s/foo/bar/g   # replacement, just like vi
a             # add lines
my line
other line
ctrl-d        # finish adding
p             # print current line
d             # delete current line
w             # write
q             # quit



Eric d'Alibut escreveu:
> On 5/4/07, Hisashi T Fujinaka <htodd@twofifty.com> wrote:
> 
>> man ed! ed, man! (sorry, I had to say it)
> 
> You're forgiven. <g>
> 
> Moving right along, what do *other* knowledgeable NetBSD users to edit
> in single user mode?
> 
>