<?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 | stuck in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366225#M684367</link>
    <description>Perfect James, thanks,&lt;BR /&gt;now what if each input line might have different numbers after the '=' sign.&lt;BR /&gt;is there a way I can delete whatever is after the '=' sign and replace it with 4 9's ?&lt;BR /&gt;&lt;BR /&gt;you guys are good. I feel stupid.</description>
    <pubDate>Wed, 25 Feb 2009 13:26:27 GMT</pubDate>
    <dc:creator>Nobody's Hero</dc:creator>
    <dc:date>2009-02-25T13:26:27Z</dc:date>
    <item>
      <title>sed | stuck</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366219#M684361</link>
      <description>should be easy, im trying to search for the equal sign in each line and append four nines after it.&lt;BR /&gt;&lt;BR /&gt;I tried. sed s/"="/999/g but it takes out the equal sign. I want to append after the equal sign.&lt;BR /&gt;&lt;BR /&gt;The input looks like this:     set rlim_fd_cur=65536&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Feb 2009 13:07:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366219#M684361</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2009-02-25T13:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: sed | stuck</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366220#M684362</link>
      <description>Hi :&lt;BR /&gt;&lt;BR /&gt;# X="set rlim_fd_cur=65536"&lt;BR /&gt;# echo ${X}|sed -e 's/\=/\=9999/'&lt;BR /&gt;set rlim_fd_cur=999965536&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 25 Feb 2009 13:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366220#M684362</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-25T13:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: sed | stuck</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366221#M684363</link>
      <description>I haven't tried it, but wouldn't this work:&lt;BR /&gt;&lt;BR /&gt;sed s/"="/"=9999"/g&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 25 Feb 2009 13:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366221#M684363</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-02-25T13:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: sed | stuck</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366222#M684364</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;...or if I took you too literally, then maybe you want:&lt;BR /&gt;&lt;BR /&gt;# echo ${X}|sed -e 's/\=.*/\=9999/'&lt;BR /&gt;set rlim_fd_cur=9999&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 25 Feb 2009 13:22:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366222#M684364</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-25T13:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: sed | stuck</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366223#M684365</link>
      <description>Close that is what I got too:&lt;BR /&gt;&lt;BR /&gt;here is the output from  s/"="/"=9999"/g&lt;BR /&gt;set rlim_fd_cur=999965536&lt;BR /&gt;&lt;BR /&gt;I still have the 65536 at the end.&lt;BR /&gt;I need to search for the equal sign, delete everything after it and replace it with 4 9's.&lt;BR /&gt;&lt;BR /&gt;sorry I wasnt clear. Im stuck.</description>
      <pubDate>Wed, 25 Feb 2009 13:23:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366223#M684365</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2009-02-25T13:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: sed | stuck</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366224#M684366</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I need to search for the equal sign, delete everything after it and replace it with 4 9's.&lt;BR /&gt;&lt;BR /&gt;That's what I meant when I said I think I took you too literally :-)  See my post immediately before yours.&lt;BR /&gt;&lt;BR /&gt;echo ${X}|sed -e 's/\=.*/\=9999/'&lt;BR /&gt;set rlim_fd_cur=9999&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Feb 2009 13:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366224#M684366</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-25T13:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: sed | stuck</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366225#M684367</link>
      <description>Perfect James, thanks,&lt;BR /&gt;now what if each input line might have different numbers after the '=' sign.&lt;BR /&gt;is there a way I can delete whatever is after the '=' sign and replace it with 4 9's ?&lt;BR /&gt;&lt;BR /&gt;you guys are good. I feel stupid.</description>
      <pubDate>Wed, 25 Feb 2009 13:26:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366225#M684367</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2009-02-25T13:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: sed | stuck</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366226#M684368</link>
      <description>Thanks James. PERFECT...man that looked easy and I was really stuck......&lt;BR /&gt;&lt;BR /&gt;Thanks again really.</description>
      <pubDate>Wed, 25 Feb 2009 13:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366226#M684368</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2009-02-25T13:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: sed | stuck</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366227#M684369</link>
      <description>you know, you guys and gals should get more than points for helping us novice script writers.&lt;BR /&gt;actually I think even if I did write scripts all the time they would be half a mess.&lt;BR /&gt;&lt;BR /&gt;looked so easy but I found it difficult. probably because 22% of my brain is clogged with malted hopps from vegas last week.&lt;BR /&gt;thats my excuse anyway.&lt;BR /&gt;&lt;BR /&gt;Thanks James, you have helped me many times over the years. your company should be proud to have you on staff.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 25 Feb 2009 13:34:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366227#M684369</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2009-02-25T13:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: sed | stuck</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366228#M684370</link>
      <description>It turns out there is a command to make these changes in files: ch_rc(1M)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;now what if each input line might have different numbers after the '=' sign.&lt;BR /&gt;&lt;BR /&gt;If there are different numbers AND you want to keep stuff after the numbers:&lt;BR /&gt;sed 's/=[0-9]*/=9999/'</description>
      <pubDate>Wed, 25 Feb 2009 16:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-stuck/m-p/4366228#M684370</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-25T16:26:59Z</dc:date>
    </item>
  </channel>
</rss>

