<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Evan Jones</title>
    <description>The latest articles on DEV Community by Evan Jones (@evanj).</description>
    <link>https://dev.to/evanj</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F364619%2F86e12c50-33ef-4a74-a09f-b29ed12d5198.png</url>
      <title>DEV Community: Evan Jones</title>
      <link>https://dev.to/evanj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/evanj"/>
    <language>en</language>
    <item>
      <title>ed is the standard text editor.</title>
      <dc:creator>Evan Jones</dc:creator>
      <pubDate>Sat, 11 Apr 2020 08:30:10 +0000</pubDate>
      <link>https://dev.to/evanj/ed-is-the-standard-text-editor-bp9</link>
      <guid>https://dev.to/evanj/ed-is-the-standard-text-editor-bp9</guid>
      <description>&lt;p&gt;ed (pronounced "e" "d" -- not "ed" as in Ed, Edd n Eddy) is a line-oriented text editor. ed was originally written by Ken Thompson for use in  various UNIX systems. Don't let the man(1) page lie to you: ed is &lt;em&gt;not&lt;/em&gt; superseded by full-screen editors such as GNU Emacs or GNU Moe. If you tend to shy away from user interfaces, clinging to your sh(1) prompt to get work done, ed may be another valuable rendezvous for your time out of the meatspace -- after all Vi does mean "visual" editor.&lt;/p&gt;

&lt;p&gt;ed doesn't do much without being asked to. What ed does do is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Append text to a buffer.&lt;/li&gt;
&lt;li&gt;Print text from a buffer.&lt;/li&gt;
&lt;li&gt;Replace lines in a buffer.&lt;/li&gt;
&lt;li&gt;Deleted line from a buffer.&lt;/li&gt;
&lt;li&gt;Read files.&lt;/li&gt;
&lt;li&gt;Write files.&lt;/li&gt;
&lt;li&gt;Put/yank text.&lt;/li&gt;
&lt;li&gt;Execute shell commands.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's almost it.&lt;/p&gt;

&lt;p&gt;What I'll show you are the bare essentials to using ed. We're going to write a hello world program in ed using the C programming language.&lt;/p&gt;

&lt;p&gt;We'll begin by entering a shell prompt, sh(1) will do. Follow along with me in my terminal.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iwzJkpyE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://e3.evanjon.es/5cb99583-7922-49d5-77d5-0dabb0ff103a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iwzJkpyE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://e3.evanjon.es/5cb99583-7922-49d5-77d5-0dabb0ff103a.png" alt="using ed"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sure beats the hell out of using punch cards.&lt;/p&gt;

</description>
      <category>ed</category>
      <category>sh</category>
      <category>gnu</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
