bug-ed
[Top][All Lists]
Advanced

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

A suggestion to add to gnu ed: command line option to start on line foo


From: Matthew Polk
Subject: A suggestion to add to gnu ed: command line option to start on line foo or bar.
Date: Sat, 18 Feb 2023 17:19:08 -0500

I like ed. I think it's a cool editor. One thing that in my opinion to
make it more usable with other programs would be to have implemented,
is a command line option to have ed automatically start at the
specified line rather than at the very bottom. I like to (for example)
use less to view text files as a pager and would like to use ed to
edit a line, but setting ed as my $EDITOR causes it to always open at
the very bottom of the file. So I decided to do something about it, by
contributing to ed for the next release. I'm willing to spend a few
days to write up a patch because ed is a rather small program and get
it reviewed for changes. I first would like suggestions on how to
tackle this. If anyone wishes to offer help, it would be appreciated.
Ed already has a few extensions not found on BSD (Such as OpenBSD ed)
or especially historical ed, so it wouldn't at all feel out of place
to have a feature found in vi or emacs.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]