<?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: command garbled: in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594593#M231865</link>
    <description>A little more information, like the sed command you're using and a sample of the data might be helpful.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Tue, 02 Aug 2005 06:14:50 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2005-08-02T06:14:50Z</dc:date>
    <item>
      <title>sed: command garbled:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594592#M231864</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a 70 million record file that needs to do some substitution via sed but we are getting the following errors:&lt;BR /&gt;&lt;BR /&gt;sed: command garbled: 6,&lt;BR /&gt;sed: command garbled: 1,-1p&lt;BR /&gt;&lt;BR /&gt;Anyone have any ideas on resolving this?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Tue, 02 Aug 2005 06:05:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594592#M231864</guid>
      <dc:creator>Edgar_8</dc:creator>
      <dc:date>2005-08-02T06:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: sed: command garbled:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594593#M231865</link>
      <description>A little more information, like the sed command you're using and a sample of the data might be helpful.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 02 Aug 2005 06:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594593#M231865</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-08-02T06:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: sed: command garbled:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594594#M231866</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please post the exact sed command you are using.&lt;BR /&gt;&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 02 Aug 2005 06:24:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594594#M231866</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2005-08-02T06:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: sed: command garbled:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594595#M231867</link>
      <description>"Sed command garbled"&lt;BR /&gt;&lt;BR /&gt;You will recieve this error whenever the syntax is wrong.&lt;BR /&gt;&lt;BR /&gt;eg.&lt;BR /&gt;sed 's/a\/b/'&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;From what you have written, it looks like the nos. that you are giving is in a wrong position.&lt;BR /&gt;&lt;BR /&gt;Post your sed.</description>
      <pubDate>Tue, 02 Aug 2005 07:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594595#M231867</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-08-02T07:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: sed: command garbled:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594596#M231868</link>
      <description>A generic description from &lt;A href="http://www.unix.org.ua/orelly/unix/sedawk/ch02_03.htm:" target="_blank"&gt;http://www.unix.org.ua/orelly/unix/sedawk/ch02_03.htm:&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The syntax of a sed command can be detailed, and it's easy to make a mistake or omit a required element. Notice what happens when incomplete syntax is entered:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ sed -e 's/MA/Massachusetts' list&lt;BR /&gt;sed: command garbled: s/MA/Massachusetts&lt;BR /&gt;&lt;BR /&gt;Sed will usually display any line that it cannot execute, but it does not tell you what is wrong with the command.[2] In this instance, a slash, which marks the search and replacement portions of the command, is missing at the end of the substitute command.&lt;BR /&gt;&lt;BR /&gt;[2] Some vendors seem to have improved things. For instance, on SunOS 4.1.x, sed reports "sed: Ending delimiter missing on substitution: s/MA/Massachusetts".&lt;BR /&gt;&lt;BR /&gt;GNU sed is more helpful:&lt;BR /&gt;&lt;BR /&gt;$ gsed -e 's/MA/Massachusetts' list&lt;BR /&gt;gsed: Unterminated `s' command&lt;BR /&gt;&lt;BR /&gt;So essentially, you're missing some key part of the syntax.&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Aug 2005 07:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594596#M231868</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-08-02T07:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: sed: command garbled:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594597#M231869</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It appears as if the cause was resources on the server. We switched to a better server and we dont experience the same error.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Tue, 02 Aug 2005 08:12:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-command-garbled/m-p/3594597#M231869</guid>
      <dc:creator>Edgar_8</dc:creator>
      <dc:date>2005-08-02T08:12:10Z</dc:date>
    </item>
  </channel>
</rss>

