[BusyBox] Sed and vi.

Glenn McGrath bug1 at optushome.com.au
Fri Oct 10 09:27:35 UTC 2003


On Fri, 10 Oct 2003 00:05:15 -0500
Rob Landley <rob at landley.net> wrote:

> You can enter sed commands at the colon prompt of vi.  For example,
> colon command to global search and replace in the file is
> "1,$s/old/new/g".
> 
> Not that i have a shortage of to-do items, but might it be a good idea
> someday to merge busybox vi and busybox sed somewhat, to cut down on
> duplication and add functionality?

I think they might be ed commands, which is about the same as sed.

There is a feature request for an ed applet, but im not brave enough.

http://bugs.busybox.net/db/12/1269.html



Glenn



More information about the busybox mailing list