<?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: pass parameter containing * to ksh script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pass-parameter-containing-to-ksh-script/m-p/2800201#M720656</link>
    <description>Hi!&lt;BR /&gt;&lt;BR /&gt;You need to protect the '*' from being interpreted by your calling shell.&lt;BR /&gt;&lt;BR /&gt;This can be done e.g. using \ or quotes.&lt;BR /&gt;&lt;BR /&gt;./script "/usr/test/*.txt" "/usr/backup/*.bck"&lt;BR /&gt;./script /usr/test/\*.txt /usr/backup/\*.bck&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.</description>
    <pubDate>Thu, 05 Sep 2002 08:51:14 GMT</pubDate>
    <dc:creator>Dietmar Konermann</dc:creator>
    <dc:date>2002-09-05T08:51:14Z</dc:date>
    <item>
      <title>pass parameter containing * to ksh script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pass-parameter-containing-to-ksh-script/m-p/2800200#M720655</link>
      <description>Hello,&lt;BR /&gt;I need a ksh script that copies for example /usr/test/*.txt to /usr/backup/*.bck. I want to use this as parameter for my script but I have problems with the *. How can I manage to pass parameters containing *?</description>
      <pubDate>Thu, 05 Sep 2002 08:36:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pass-parameter-containing-to-ksh-script/m-p/2800200#M720655</guid>
      <dc:creator>Delvaux Ulrich</dc:creator>
      <dc:date>2002-09-05T08:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter containing * to ksh script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pass-parameter-containing-to-ksh-script/m-p/2800201#M720656</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;You need to protect the '*' from being interpreted by your calling shell.&lt;BR /&gt;&lt;BR /&gt;This can be done e.g. using \ or quotes.&lt;BR /&gt;&lt;BR /&gt;./script "/usr/test/*.txt" "/usr/backup/*.bck"&lt;BR /&gt;./script /usr/test/\*.txt /usr/backup/\*.bck&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Thu, 05 Sep 2002 08:51:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pass-parameter-containing-to-ksh-script/m-p/2800201#M720656</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-09-05T08:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter containing * to ksh script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pass-parameter-containing-to-ksh-script/m-p/2800202#M720657</link>
      <description>You can turn off globbing with "set -f"&lt;BR /&gt;Once you issue a "set -f", * will not be expanded until you issue a "set +f"&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Thu, 05 Sep 2002 09:09:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pass-parameter-containing-to-ksh-script/m-p/2800202#M720657</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2002-09-05T09:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: pass parameter containing * to ksh script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pass-parameter-containing-to-ksh-script/m-p/2800203#M720658</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The -f is good or &lt;BR /&gt;set -o noglob&lt;BR /&gt;&lt;BR /&gt;Do it before you run the script and&lt;BR /&gt;set +f or set +o noglob&lt;BR /&gt;&lt;BR /&gt;after.&lt;BR /&gt;&lt;BR /&gt;-f      Disables file name generation.&lt;BR /&gt;&lt;BR /&gt;noglob            Same as -f&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;          steve steel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Sep 2002 11:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pass-parameter-containing-to-ksh-script/m-p/2800203#M720658</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-09-05T11:19:37Z</dc:date>
    </item>
  </channel>
</rss>

