<?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: delete line in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-line/m-p/3544574#M223889</link>
    <description>many thanks for response&lt;BR /&gt;iam sorry&lt;BR /&gt;i forget to tell u .i want to use sed command&lt;BR /&gt;&lt;BR /&gt;because this procedure is step in my script file.&lt;BR /&gt;please help&lt;BR /&gt;</description>
    <pubDate>Sat, 14 May 2005 05:45:00 GMT</pubDate>
    <dc:creator>kamal_15</dc:creator>
    <dc:date>2005-05-14T05:45:00Z</dc:date>
    <item>
      <title>delete line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-line/m-p/3544572#M223887</link>
      <description>hi all&lt;BR /&gt;how can i delete lines from the fisrt file &lt;BR /&gt;to specefic line in this file?&lt;BR /&gt;EX:&lt;BR /&gt;********************&lt;BR /&gt;1111111&lt;BR /&gt;2222222&lt;BR /&gt;333 hello 3333&lt;BR /&gt;4444444&lt;BR /&gt;********************&lt;BR /&gt;i wnat to delete lines from first line to &lt;BR /&gt;line contain word "hello"&lt;BR /&gt;&lt;BR /&gt;many thanks</description>
      <pubDate>Sat, 14 May 2005 04:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-line/m-p/3544572#M223887</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-05-14T04:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: delete line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-line/m-p/3544573#M223888</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;Open the file using vi editor,&lt;BR /&gt;&lt;BR /&gt;Two methods:&lt;BR /&gt;i) Go to the line upto which you want to delete, and enter following command:-&lt;BR /&gt;:1,.d&lt;BR /&gt;&lt;BR /&gt;ii) Find out the line no. of the last line you want to delete, in the above example, hello comes in 3rd line, so enter following command:&lt;BR /&gt;:1,3d&lt;BR /&gt;&lt;BR /&gt;Hope this clarifies,&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Sat, 14 May 2005 05:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-line/m-p/3544573#M223888</guid>
      <dc:creator>Suraj Singh_1</dc:creator>
      <dc:date>2005-05-14T05:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: delete line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-line/m-p/3544574#M223889</link>
      <description>many thanks for response&lt;BR /&gt;iam sorry&lt;BR /&gt;i forget to tell u .i want to use sed command&lt;BR /&gt;&lt;BR /&gt;because this procedure is step in my script file.&lt;BR /&gt;please help&lt;BR /&gt;</description>
      <pubDate>Sat, 14 May 2005 05:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-line/m-p/3544574#M223889</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-05-14T05:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: delete line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-line/m-p/3544575#M223890</link>
      <description>sed '1,/hello/d' &lt;FILE&gt;&lt;BR /&gt;&lt;BR /&gt;will delete from the 1st line to line containing "hello" (inclusive).&lt;/FILE&gt;</description>
      <pubDate>Sat, 14 May 2005 05:57:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-line/m-p/3544575#M223890</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-14T05:57:30Z</dc:date>
    </item>
  </channel>
</rss>

