<?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: ksh help: to remove all occurrences of &amp;quot;/string&amp;quot; from every line in the file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6537480#M496695</link>
    <description>&lt;P&gt;&amp;gt;string could be any combination of of any characters or digits&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you want to remove any combination after "/" to a space or newline?&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jul 2014 11:53:20 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2014-07-14T11:53:20Z</dc:date>
    <item>
      <title>ksh help: to remove all occurance of "/string" from every line in the file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6536856#M496691</link>
      <description>&lt;P&gt;There are multiple lines in a file, and all look like the following:&lt;BR /&gt;f1:string1/string2 f2:string3/string4&lt;/P&gt;&lt;P&gt;f3:string5/string6 f4:string7/string8&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to all characters with such format of "/stringx", in cluding / in the file. Would you please help me out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2014 21:28:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6536856#M496691</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2014-07-12T21:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: ksh help: to remove all occurrences of "/string" from every line in the file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6536864#M496692</link>
      <description>&lt;P&gt;You could use sed:&lt;/P&gt;&lt;P&gt;sed -e 's:/string.::g' file &amp;gt; file.new&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm removing that arbitrary "x" char too.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2014 22:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6536864#M496692</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-07-12T22:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: ksh help: to remove all occurrences of "/string" from every line in the file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6537166#M496693</link>
      <description>&lt;P&gt;I did not make myself clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/stringx, string could be any combination of of any characters or digits, it is not all the same. so, for instance,&lt;/P&gt;&lt;P&gt;/string1 could be "/asdbas_agd_sadf9", /string2 could be "/juhsdf_asb8bsd"&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jul 2014 02:00:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6537166#M496693</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2014-07-13T02:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: ksh help: to remove all occurrences of "/string" from every line in the file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6537322#M496694</link>
      <description />
      <pubDate>Sun, 13 Jul 2014 03:34:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6537322#M496694</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2014-07-13T03:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: ksh help: to remove all occurrences of "/string" from every line in the file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6537480#M496695</link>
      <description>&lt;P&gt;&amp;gt;string could be any combination of of any characters or digits&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you want to remove any combination after "/" to a space or newline?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2014 11:53:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6537480#M496695</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-07-14T11:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: ksh help: to remove all occurrences of "/string" from every line in the file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6538016#M496696</link>
      <description>&lt;P&gt;I wanted to remove, not replace, for instance:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;f1:anycharactersordigits/anycharactersdigits f2:anycharactersordigits/anycharactersordigits&lt;/P&gt;&lt;P&gt;f3:anycharactersordigits/anycharactersdigits f4:anycharactersordigits/anycharactersordigits&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, i wanted to remove "/anycharactersdigits" from every line, including "/".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, they will become the following:&lt;/P&gt;&lt;P&gt;f1:anycharactersordigis f2:anycharactersordigits&lt;/P&gt;&lt;P&gt;f3:anycharactersordigis f4:anycharactersordigits&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any characters contain letters digits, "-", or&amp;nbsp;"_", no space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;f1, f2, f3.. contains any characters, digits, "-", or "_" as well, no space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jul 2014 13:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6538016#M496696</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2014-07-13T13:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: ksh help: to remove all occurrences of "/string" from every line in the file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6538954#M496697</link>
      <description />
      <pubDate>Sun, 13 Jul 2014 17:12:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-help-to-remove-all-occurance-of-quot-string-quot-from-every/m-p/6538954#M496697</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2014-07-13T17:12:46Z</dc:date>
    </item>
  </channel>
</rss>

