LWN.net Logo

21 of the Best Free Linux Text Editors (LinuxLinks)

21 of the Best Free Linux Text Editors (LinuxLinks)

Posted Aug 29, 2008 9:17 UTC (Fri) by branden (guest, #7029)
In reply to: 21 of the Best Free Linux Text Editors (LinuxLinks) by AJWM
Parent article: 21 of the Best Free Linux Text Editors (LinuxLinks)

ed is a more appropriate tool than sed for noninteractive editing when the file to be manipulated is free-form and/or you need to go backwards.

I wouldn't rule anything as beyond sed's capabilities, since thanks to its hold buffer, label and branching features, it's probably Turing-complete. But I think ed is a better (and more idiomatic) fit for the scenarios I mentioned.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds