<?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 Re: sed question: insert blanks or a string at defined position in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266802#M177948</link>
    <description>Sorry, not Roberto's hint, but Rodney's!</description>
    <pubDate>Wed, 05 May 2004 02:37:27 GMT</pubDate>
    <dc:creator>Klaube</dc:creator>
    <dc:date>2004-05-05T02:37:27Z</dc:date>
    <item>
      <title>sed question: insert blanks or a string at defined position</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266797#M177943</link>
      <description>Hi,&lt;BR /&gt;i want to insert two blanks after column 8 in all lines of a file. with awk no problem, but is it possible with sed? thx, Ivo</description>
      <pubDate>Tue, 04 May 2004 08:45:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266797#M177943</guid>
      <dc:creator>Klaube</dc:creator>
      <dc:date>2004-05-04T08:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: sed question: insert blanks or a string at defined position</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266798#M177944</link>
      <description>for managing columns awk is better. with sed it's an harder work and could bear to prblems not easy to manage. If column 8 has particular form maybe can be easy.&lt;BR /&gt;With perl you can use printf and format which are built in function to print formatted output.&lt;BR /&gt;Pax, r.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 May 2004 09:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266798#M177944</guid>
      <dc:creator>Roberto Polli</dc:creator>
      <dc:date>2004-05-04T09:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: sed question: insert blanks or a string at defined position</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266799#M177945</link>
      <description>If you really need to use "sed", then-&lt;BR /&gt; &lt;BR /&gt;sed -e 's/^.\{8\}/&amp;amp;   /'&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Tue, 04 May 2004 09:37:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266799#M177945</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2004-05-04T09:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: sed question: insert blanks or a string at defined position</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266800#M177946</link>
      <description>If you really want to use sed then you could for example do:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sed -e 's/./&amp;amp;test/8' your-input &amp;gt; your-output&lt;BR /&gt;&lt;BR /&gt;This says:&lt;BR /&gt;&lt;BR /&gt;for every line, &lt;BR /&gt;substitute the '9'th match  (s///9)&lt;BR /&gt;for 'any char' (.) &lt;BR /&gt;by 'the match' (&amp;amp;) &lt;BR /&gt;and the word 'test' (or whatever else you like to be there).&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 May 2004 09:41:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266800#M177946</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-05-04T09:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: sed question: insert blanks or a string at defined position</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266801#M177947</link>
      <description>Thx to all, Roberto's hint solved my problem in the best way.</description>
      <pubDate>Wed, 05 May 2004 02:22:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266801#M177947</guid>
      <dc:creator>Klaube</dc:creator>
      <dc:date>2004-05-05T02:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: sed question: insert blanks or a string at defined position</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266802#M177948</link>
      <description>Sorry, not Roberto's hint, but Rodney's!</description>
      <pubDate>Wed, 05 May 2004 02:37:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-question-insert-blanks-or-a-string-at-defined-position/m-p/3266802#M177948</guid>
      <dc:creator>Klaube</dc:creator>
      <dc:date>2004-05-05T02:37:27Z</dc:date>
    </item>
  </channel>
</rss>

