commit: a72fa505529062c4d2a97255844337b12c3fa660
parent a2da9a20268fb613af96537f39cc73ebfca1aca4
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 11 Jun 2017 22:38:39 +0200
articles/ed: g/re/p and easyness to learn
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/articles/ed.html b/articles/ed.html
@@ -3,10 +3,12 @@
<ul>
<li>It’s a too much simple and so powerfull ed-tor (pun intended)
<li>It’s blazzingly fast (as fast as your terminal actually), which is something I need as I use slow RS232 ones or shit connections(hotspots :3) with SSH
- <li>If you know sed and/or vi you know ed
+ <li>If you know bits of vi or sed, you can basically use ed
<li>It’s accessible to everyone, even blind people, without modifications whatsoever (thanks to line-oriented editing)
<li>You can screen/copy/capture/… the whole session, no more TUI madness
<li>Make patches/sessions that can actually be pasted directly in ed (even if I think I’ll stick to the well-known/larryWall one when sharing), try to paste diffs in other editors. :)
+ <li>You have what made grep(1) in your editor. (<code>g/<code>regex<code/p</code>)
+ <li>Remember how your current $EDITOR is hard to learn? POSIX defines only 29 commands, and there is about half that can be forgotten (compared to like ~1% for vim)
<li>ED IS THE STANDARD EDITOR (actually vi is too, but only in latest(2008) POSIX)
</ul>
<p>Note: From ed, with love; Also, I’m not trolling here, appart from the "standard editor" part</p>