<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Inserting a column of text into a file in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/inserting-a-column-of-text-into-a-file/m-p/5004217#M98519</link>
    <description>&lt;!--!*#--&gt;Hey everyone,&lt;BR /&gt;&lt;BR /&gt;What would be the easiest way for me to insert a column of text into the beginning of a file?  Basically, I'm wanting to do the following:&lt;BR /&gt;&lt;BR /&gt;cat file:&lt;BR /&gt;&lt;BR /&gt;this is my text&lt;BR /&gt;this is line 2&lt;BR /&gt;this is line 3&lt;BR /&gt;&lt;BR /&gt;change to:&lt;BR /&gt;&lt;BR /&gt;insert this is my text&lt;BR /&gt;insert this is line 2&lt;BR /&gt;insert this is line 3&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.</description>
    <pubDate>Tue, 19 Sep 2006 22:46:08 GMT</pubDate>
    <dc:creator>TheJuiceman</dc:creator>
    <dc:date>2006-09-19T22:46:08Z</dc:date>
    <item>
      <title>Inserting a column of text into a file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/inserting-a-column-of-text-into-a-file/m-p/5004217#M98519</link>
      <description>&lt;!--!*#--&gt;Hey everyone,&lt;BR /&gt;&lt;BR /&gt;What would be the easiest way for me to insert a column of text into the beginning of a file?  Basically, I'm wanting to do the following:&lt;BR /&gt;&lt;BR /&gt;cat file:&lt;BR /&gt;&lt;BR /&gt;this is my text&lt;BR /&gt;this is line 2&lt;BR /&gt;this is line 3&lt;BR /&gt;&lt;BR /&gt;change to:&lt;BR /&gt;&lt;BR /&gt;insert this is my text&lt;BR /&gt;insert this is line 2&lt;BR /&gt;insert this is line 3&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.</description>
      <pubDate>Tue, 19 Sep 2006 22:46:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/inserting-a-column-of-text-into-a-file/m-p/5004217#M98519</guid>
      <dc:creator>TheJuiceman</dc:creator>
      <dc:date>2006-09-19T22:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting a column of text into a file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/inserting-a-column-of-text-into-a-file/m-p/5004218#M98520</link>
      <description>so many solutions...&lt;BR /&gt;Most unix folks will probably propose 'sed'.&lt;BR /&gt;I just pick awk or perl&lt;BR /&gt;&lt;BR /&gt;awk '{print "insert " $0}' file&lt;BR /&gt;&lt;BR /&gt;or with perl and replace in-place&lt;BR /&gt;&lt;BR /&gt;perl -pie "$_ = "insert " . $_"  file&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Sep 2006 23:03:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/inserting-a-column-of-text-into-a-file/m-p/5004218#M98520</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-09-19T23:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting a column of text into a file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/inserting-a-column-of-text-into-a-file/m-p/5004219#M98521</link>
      <description>Great answer.  Thanks a million!!!</description>
      <pubDate>Wed, 20 Sep 2006 00:24:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/inserting-a-column-of-text-into-a-file/m-p/5004219#M98521</guid>
      <dc:creator>TheJuiceman</dc:creator>
      <dc:date>2006-09-20T00:24:25Z</dc:date>
    </item>
  </channel>
</rss>

