4 ms·
Oh, heretics! How dare they leave ed out of the list [1]? [1] https://github.com/bmatzelle/gow/wiki/executables_list https://github.com/bmatzelle/gow/wiki/exec
by ez77 15y ago
Oh, heretics! How dare they leave ed out of the list [1]?
[1] https://github.com/bmatzelle/gow/wiki/executables_list https://github.com/bmatzelle/gow/wiki/executables_list
- joshu 15y agoED IS THE STANDARD UNIX EDITOR! IT MAKES THE SUN SHINE AND THE SKY BLUE AND THE GRASS GREEN!
- swah 15y agoI DON'T NEED TO SEE THE STATE OF THE FILE! I KNOW THE STATE OF THE FILE! I JUST NEED YOU TO CHANGE THE FILE.
- william42 15y agowilliam@aldebaran ~ $ ed bash: ed: command not found
- xfs 15y agoHere is the joke: http://www.gnu.org/fun/jokes/ed.msg.html http://www.gnu.org/fun/jokes/ed.msg.html
- RexRollman 15y agoI recently decided to learn ed, as I felt it couldn't hurt to be familiar with it, and I was surprised to see that it wasn't installed in Arch Linux by default.
- chalst 15y agoIf one has bash as the default shell, why not ex as the standard line-oriented text editor? Postscript - ex is the version of ed rolled up in vim, which extends the command set of ed. vi, by contrast, handles colon commands by invoking ed externally.
- RexRollman 15y agoIIRC, I became interested in ed after reading about the Plan 9 editor Sam, which was described as "ed on steroids, lots of steroids"[1]. Sadly, I never got around to trying Sam. [1]http://sam.cat-v.org/ http://sam.cat-v.org/
- ez77 15y ago"ex is the version of ed rolled up in vim, which extends the command set of ed. vi, by contrast, handles colon commands by invoking ed externally." Actually vi and ex came about at the same time. You can see the POSIX standard mentions [1] ex and vi (not vim) together, and you can also refer to [2], under the "First appeared" column. [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex... [2] http://en.wikipedia.org/wiki/List_of_Unix_utilities http://en.wikipedia.org/wiki/List_of_Unix_utilities
- chalst 15y agoIndeed, there is a mistake in what I wrote. What I should have said is that Bill Joy wrote ex, and then he used this implementation to write vi. Vim is like vi in that it comes with an ex built in, which is an extension of Bill Joy's ex.