<?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: Scripting:Pls help. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284025#M180940</link>
    <description>Thanks for your great help. &lt;BR /&gt;&lt;BR /&gt;It looks fine for me now. &lt;BR /&gt;&lt;BR /&gt;Thanks again. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Negara</description>
    <pubDate>Sun, 23 May 2004 22:21:54 GMT</pubDate>
    <dc:creator>Dewa Negara_4</dc:creator>
    <dc:date>2004-05-23T22:21:54Z</dc:date>
    <item>
      <title>Scripting:Pls help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284017#M180932</link>
      <description>Hi All, &lt;BR /&gt;&lt;BR /&gt;Pls help. How can we exclude an empty space on a file, so the script won't read the empty space. Example, I have a file called file01 below :&lt;BR /&gt;&lt;BR /&gt;one&lt;BR /&gt;two&lt;BR /&gt;#tree&lt;BR /&gt;&lt;BR /&gt;four&lt;BR /&gt;&lt;BR /&gt;five&lt;BR /&gt;&lt;BR /&gt;If in the script I use this command #grep -v "#" file01|while read X, the empty space will be read by the script and give me the wrong result. How can we exclude the empty space on the command #grep -v "#" file01|while read X&lt;BR /&gt;&lt;BR /&gt;Pls help. &lt;BR /&gt;Thanks in advance. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Negara</description>
      <pubDate>Sat, 22 May 2004 22:29:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284017#M180932</guid>
      <dc:creator>Dewa Negara_4</dc:creator>
      <dc:date>2004-05-22T22:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting:Pls help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284018#M180933</link>
      <description>Well, asumming the other entries contain no spaces:&lt;BR /&gt;grep -v " " or grep -v "     "&lt;BR /&gt;etc.&lt;BR /&gt;Go for it. Best of luck.&lt;BR /&gt;There a multitude of ways to do this. I am just giving you a down and dirty quick fix.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;dl</description>
      <pubDate>Sat, 22 May 2004 23:10:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284018#M180933</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2004-05-22T23:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting:Pls help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284019#M180934</link>
      <description>Negara:&lt;BR /&gt;My second grep should have shown multiple spaces between the quotes. Don't know why it did not.&lt;BR /&gt;May be a forums issue for Dan.&lt;BR /&gt;dl</description>
      <pubDate>Sat, 22 May 2004 23:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284019#M180934</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2004-05-22T23:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting:Pls help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284020#M180935</link>
      <description>Dave, &lt;BR /&gt;&lt;BR /&gt;Thanks. It still not working properly. &lt;BR /&gt;&lt;BR /&gt;Can you pls help to give me other methods?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Negara</description>
      <pubDate>Sat, 22 May 2004 23:32:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284020#M180935</guid>
      <dc:creator>Dewa Negara_4</dc:creator>
      <dc:date>2004-05-22T23:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting:Pls help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284021#M180936</link>
      <description>awk '/^[^#]/ {print;}' file01 |&lt;BR /&gt;while read X&lt;BR /&gt;&lt;BR /&gt;this will strip out empty lines and lines begining with #</description>
      <pubDate>Sat, 22 May 2004 23:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284021#M180936</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-05-22T23:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting:Pls help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284022#M180937</link>
      <description>sed -e '/^$/d' -e '/.*#.*/d' |&lt;BR /&gt;while read X</description>
      <pubDate>Sun, 23 May 2004 00:00:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284022#M180937</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-05-23T00:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting:Pls help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284023#M180938</link>
      <description>grep -vE "^$|#" file01 |&lt;BR /&gt;while read X</description>
      <pubDate>Sun, 23 May 2004 00:11:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284023#M180938</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-05-23T00:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting:Pls help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284024#M180939</link>
      <description>You Must Get the book: "UNIX POWER TOOLS"&lt;BR /&gt;(also available second hand )&lt;BR /&gt;Also u can use the web. Check out:&lt;BR /&gt;&lt;A href="http://www.uwsg.iu.edu/UAU/advcomm/SED.html" target="_blank"&gt;http://www.uwsg.iu.edu/UAU/advcomm/SED.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please Assign points.&lt;BR /&gt;Isaac.</description>
      <pubDate>Sun, 23 May 2004 21:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284024#M180939</guid>
      <dc:creator>isaac_loven</dc:creator>
      <dc:date>2004-05-23T21:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting:Pls help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284025#M180940</link>
      <description>Thanks for your great help. &lt;BR /&gt;&lt;BR /&gt;It looks fine for me now. &lt;BR /&gt;&lt;BR /&gt;Thanks again. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Negara</description>
      <pubDate>Sun, 23 May 2004 22:21:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-pls-help/m-p/3284025#M180940</guid>
      <dc:creator>Dewa Negara_4</dc:creator>
      <dc:date>2004-05-23T22:21:54Z</dc:date>
    </item>
  </channel>
</rss>

