<?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: if options in ksh in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978271#M99510</link>
    <description>Hi Volkmar,&lt;BR /&gt;&lt;BR /&gt;What about&lt;BR /&gt;SAPDIR=$HOME/v4_sap&lt;BR /&gt;if [ -d $SAPDIR ]&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;Chan</description>
    <pubDate>Wed, 10 May 2006 05:06:34 GMT</pubDate>
    <dc:creator>Chan 007</dc:creator>
    <dc:date>2006-05-10T05:06:34Z</dc:date>
    <item>
      <title>if options in ksh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978268#M99507</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have to check in a ksh script if a (users) directory ($HOME/v4_sap) exists.&lt;BR /&gt;In c-shell it's like:&lt;BR /&gt;&lt;BR /&gt;'if ( -d $SAPDIR ) then'&lt;BR /&gt;&lt;BR /&gt;What's in k-shell for $HOME/v4_sap?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Wed, 10 May 2006 04:55:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978268#M99507</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2006-05-10T04:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: if options in ksh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978269#M99508</link>
      <description>Hi Volkmar, &lt;BR /&gt;&lt;BR /&gt;Check this out, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.context-switch.com/reference/kshref/ch4.html" target="_blank"&gt;http://www.context-switch.com/reference/kshref/ch4.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 10 May 2006 04:58:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978269#M99508</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-05-10T04:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: if options in ksh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978270#M99509</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;if [ -d $HOME/v4_sap ]&lt;BR /&gt;then&lt;BR /&gt;......&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;GOOD LUCK!!</description>
      <pubDate>Wed, 10 May 2006 05:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978270#M99509</guid>
      <dc:creator>Warren_9</dc:creator>
      <dc:date>2006-05-10T05:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: if options in ksh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978271#M99510</link>
      <description>Hi Volkmar,&lt;BR /&gt;&lt;BR /&gt;What about&lt;BR /&gt;SAPDIR=$HOME/v4_sap&lt;BR /&gt;if [ -d $SAPDIR ]&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;Chan</description>
      <pubDate>Wed, 10 May 2006 05:06:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978271#M99510</guid>
      <dc:creator>Chan 007</dc:creator>
      <dc:date>2006-05-10T05:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: if options in ksh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978272#M99511</link>
      <description>Hi Vo,&lt;BR /&gt;&lt;BR /&gt;something like below example.&lt;BR /&gt;&lt;BR /&gt;if [ ! -d $SAPDIR ]&lt;BR /&gt;then&lt;BR /&gt;  echo "Destination directory : $SAPDIR does not exist, unable to continue !" | tee -a $histlog&lt;BR /&gt;  exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 10 May 2006 05:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978272#M99511</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2006-05-10T05:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: if options in ksh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978273#M99512</link>
      <description>So I missed the '[' ']' in ksh.&lt;BR /&gt;&lt;BR /&gt;Thanks Arun and Warren!&lt;BR /&gt;Always searched the options in itrc, but found nothing.&lt;BR /&gt;&lt;BR /&gt;V.</description>
      <pubDate>Wed, 10 May 2006 05:06:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978273#M99512</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2006-05-10T05:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: if options in ksh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978274#M99513</link>
      <description>Volkmar,&lt;BR /&gt;You are nearly there, just need square brackets. &lt;BR /&gt;&lt;BR /&gt;if [ -d $HOME/v4_sap ]&lt;BR /&gt;then&lt;BR /&gt;echo "found"&lt;BR /&gt;else&lt;BR /&gt;echo "Not found"&lt;BR /&gt;fi</description>
      <pubDate>Wed, 10 May 2006 05:07:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978274#M99513</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-05-10T05:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: if options in ksh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978275#M99514</link>
      <description>Yep - it seemed quite too simple ;-))&lt;BR /&gt;The same options only other brakets ...</description>
      <pubDate>Wed, 10 May 2006 05:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978275#M99514</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2006-05-10T05:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: if options in ksh</title>
      <link>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978276#M99515</link>
      <description>Great forum&lt;BR /&gt;Thanks to all!</description>
      <pubDate>Wed, 10 May 2006 05:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/if-options-in-ksh/m-p/4978276#M99515</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2006-05-10T05:44:40Z</dc:date>
    </item>
  </channel>
</rss>

