<?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: Anybody knows why??? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721907#M63345</link>
    <description>Thanks everyone!&lt;BR /&gt;&lt;BR /&gt;The link given by Shiju is a good reference for those of you who look in here and would like a detailed explanation.</description>
    <pubDate>Sun, 12 May 2002 10:42:47 GMT</pubDate>
    <dc:creator>MAD_2</dc:creator>
    <dc:date>2002-05-12T10:42:47Z</dc:date>
    <item>
      <title>Anybody knows why???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721902#M63340</link>
      <description>When running the find command, the following comes up:&lt;BR /&gt;&lt;BR /&gt;$ find . -name *sh       &lt;BR /&gt;find: missing conjunction&lt;BR /&gt;&lt;BR /&gt;Anyone knows why this is happening?  It runs OK in another HP-UX I am using.  Environment issue maybe?  I also ran as root.</description>
      <pubDate>Sat, 11 May 2002 14:41:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721902#M63340</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-05-11T14:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody knows why???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721903#M63341</link>
      <description>You have to understand that -name expects exactly one argument but the shell is expanding *sh into as many filenames that match that pattern as are in your current directory. All you have to do is enclose the pattern in quotes and that will let cpio expand the pattern rather than the shell.&lt;BR /&gt;&lt;BR /&gt;find . -name '*sh' will fix you.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 11 May 2002 14:46:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721903#M63341</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-05-11T14:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody knows why???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721904#M63342</link>
      <description>Stephenson,&lt;BR /&gt;&lt;BR /&gt;Fine, that resolved my issue, thanks, but why is it that it does work on the other system with a basically similiar structure (same directory and files in it)???  Only difference, the other runs HP-UX 11 while the one where I had trouble is 10.2</description>
      <pubDate>Sat, 11 May 2002 14:49:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721904#M63342</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-05-11T14:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody knows why???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721905#M63343</link>
      <description>Hi Mynor:&lt;BR /&gt;&lt;BR /&gt;The answer is, it depends on the shell you are using, the environment varibales set, the version of find etc. Normally different shells interprets/execute the wildcards (*,?) in different ways.&lt;BR /&gt;&lt;BR /&gt;Read this document (TKB #AUSRCKBRC00003089), it will give you a better explanation:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=ca36030e0f41f10775/screen=ckiDisplayDocument?docId=200000050417063" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=ca36030e0f41f10775/screen=ckiDisplayDocument?docId=200000050417063&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;</description>
      <pubDate>Sat, 11 May 2002 18:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721905#M63343</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-05-11T18:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody knows why???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721906#M63344</link>
      <description>AS Clay mentioned, the shell treats * (and other) characters with special handling. find never sees the * unless it is escaped. On other systems, the exact same statement may run differently because filename globbing has been disabled.  From the man page for ksh, POSIX shell (and even bash), the -f option controls globbing or filename expansion.&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;echo *&lt;BR /&gt;set -f&lt;BR /&gt;echo *&lt;BR /&gt;set +f&lt;BR /&gt;echo *&lt;BR /&gt;&lt;BR /&gt;This illustrates that the shell is replacing special characters with matching filenames as long as globbing is enabled.</description>
      <pubDate>Sun, 12 May 2002 02:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721906#M63344</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-05-12T02:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody knows why???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721907#M63345</link>
      <description>Thanks everyone!&lt;BR /&gt;&lt;BR /&gt;The link given by Shiju is a good reference for those of you who look in here and would like a detailed explanation.</description>
      <pubDate>Sun, 12 May 2002 10:42:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/anybody-knows-why/m-p/2721907#M63345</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-05-12T10:42:47Z</dc:date>
    </item>
  </channel>
</rss>

