<?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: problems with sed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-sed/m-p/2657224#M928443</link>
    <description>Devin,&lt;BR /&gt;&lt;BR /&gt;Harry is right, it is hard to tell from what you have given us.&lt;BR /&gt;&lt;BR /&gt;The portion you provided looks good?  Have you tried running from the command line?&lt;BR /&gt;&lt;BR /&gt;Attempt to run the sed from the command line.&lt;BR /&gt;&lt;BR /&gt;sed -e '/selected\.$/d' -e '/^---.*--$/d' -e '/^FILE_NAME/d' /the/dbbackup/file&lt;BR /&gt;&lt;BR /&gt;If you get nothing back, that is why the do is doing nothing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;...jcd...&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 01 Feb 2002 18:53:27 GMT</pubDate>
    <dc:creator>Joseph C. Denman</dc:creator>
    <dc:date>2002-02-01T18:53:27Z</dc:date>
    <item>
      <title>problems with sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-sed/m-p/2657222#M928441</link>
      <description>I'm trying to implement a generic backup script from Oracle press and it used sed at various points; but the sed commands don't work. I don't know if there are any hp/ux variations that could be causing my problems. Example follows:&lt;BR /&gt;&lt;BR /&gt;file $DBBACKUP contains 9 lines of filename &amp;amp; tablespace name. &lt;BR /&gt;&lt;BR /&gt;SED="sed -e '/selected\.$/d' -e '/^---.*--$/d'  -e '/^FILE_NAME/d' $DBBACKUP"&lt;BR /&gt;&lt;BR /&gt;eval $SED | while read FILE TABLESPACE&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;The statements inside the do don't get executed.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Feb 2002 18:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-sed/m-p/2657222#M928441</guid>
      <dc:creator>Devin McEntee</dc:creator>
      <dc:date>2002-02-01T18:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: problems with sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-sed/m-p/2657223#M928442</link>
      <description>Devin, can you post the file? it would help, so we can see how and waht you are matching to.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Fri, 01 Feb 2002 18:36:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-sed/m-p/2657223#M928442</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-02-01T18:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: problems with sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-sed/m-p/2657224#M928443</link>
      <description>Devin,&lt;BR /&gt;&lt;BR /&gt;Harry is right, it is hard to tell from what you have given us.&lt;BR /&gt;&lt;BR /&gt;The portion you provided looks good?  Have you tried running from the command line?&lt;BR /&gt;&lt;BR /&gt;Attempt to run the sed from the command line.&lt;BR /&gt;&lt;BR /&gt;sed -e '/selected\.$/d' -e '/^---.*--$/d' -e '/^FILE_NAME/d' /the/dbbackup/file&lt;BR /&gt;&lt;BR /&gt;If you get nothing back, that is why the do is doing nothing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;...jcd...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Feb 2002 18:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-sed/m-p/2657224#M928443</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2002-02-01T18:53:27Z</dc:date>
    </item>
  </channel>
</rss>

