News for hackers. Stuff that matters.
Re:GNU ed 1.15 by Mediterraneo10 on Friday January 04, 2019 @10:07AM (#18824487)
You can do the same thing (for me too, ~/.ssh/known_hosts is the most common use case) with GNU Nano: nano +[line number] [filename], then Ctrl-K, then save and quit.
Re:GNU ed 1.15 by jraph on Friday January 04, 2019 @10:28AM (#18824632)
Nice! Also applies to kate:

kate filename:line

CTRL+K (or CTRL+D to comment out), CTRL+S, quit (current tab: CTRL+W, Alt+Tab or app: CTRL+Q)

Particularly useful when the output of the previous command (compilation for instance) already contains filename:line. Then double click, middle click paste works well.

or: kate filename

CTRL+G line <Enter>, CTRL+K, CTRL+S, quit.