<?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: Advanced Find in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529191#M24835</link>
    <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;I have attached a utility that works pretty well. You cd to the desired directory to start searching.&lt;BR /&gt;Then enter find.sh target (target can be a substring and is not case sensitive). It then recursively descends from the current directory examining regular files which are also some form of text. Those files are then examined for the target string.&lt;BR /&gt;&lt;BR /&gt;Clay&lt;BR /&gt;</description>
    <pubDate>Wed, 16 May 2001 16:52:56 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-05-16T16:52:56Z</dc:date>
    <item>
      <title>Advanced Find</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529187#M24831</link>
      <description>I am trying to find a specific word, phase, or fragment that is contained within a file but I do not know what the file name is or directory what is the easiest way to accomplish this? And can you use wild cards?</description>
      <pubDate>Wed, 16 May 2001 16:28:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529187#M24831</guid>
      <dc:creator>Scott McDade</dc:creator>
      <dc:date>2001-05-16T16:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Find</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529188#M24832</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;one thing that comes to my mind is using the grep command.&lt;BR /&gt;If you are in a sepcific directory you can do the following:&lt;BR /&gt;&lt;BR /&gt;# grep &lt;WORD&gt; *&lt;BR /&gt;&lt;BR /&gt;That will lokk for the word in all the files listed in that directory.&lt;BR /&gt;&lt;BR /&gt;I used it too for the next level:&lt;BR /&gt;&lt;BR /&gt;#grep &lt;WORD&gt; */*&lt;BR /&gt;&lt;BR /&gt;But that is the deepest you can run it.&lt;BR /&gt;&lt;BR /&gt;Hope that helps a bit,&lt;BR /&gt;&lt;BR /&gt;Steffi Jones&lt;/WORD&gt;&lt;/WORD&gt;</description>
      <pubDate>Wed, 16 May 2001 16:33:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529188#M24832</guid>
      <dc:creator>Steffi Jones_1</dc:creator>
      <dc:date>2001-05-16T16:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Find</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529189#M24833</link>
      <description>Try the following commands:&lt;BR /&gt;# cd /&lt;BR /&gt;# find . -type f -print | xargs grep -i stringlookingfor /dev/null&lt;BR /&gt;&lt;BR /&gt;This is usually what I use to find a particular string in a file.  It may take a while to run, so if you have a guess of where the file is, change to that directory and then execute the find command, it may save some time.  Also, you may want to write the output to file for easier viewing.&lt;BR /&gt;&lt;BR /&gt;-Rob&lt;BR /&gt;</description>
      <pubDate>Wed, 16 May 2001 16:33:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529189#M24833</guid>
      <dc:creator>Robert Hoey</dc:creator>
      <dc:date>2001-05-16T16:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Find</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529190#M24834</link>
      <description>for i in `ls -R`&lt;BR /&gt;do&lt;BR /&gt;grep &lt;KEYWORD&gt;&lt;BR /&gt;done&lt;/KEYWORD&gt;</description>
      <pubDate>Wed, 16 May 2001 16:35:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529190#M24834</guid>
      <dc:creator>Ron Cornwell</dc:creator>
      <dc:date>2001-05-16T16:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Find</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529191#M24835</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;I have attached a utility that works pretty well. You cd to the desired directory to start searching.&lt;BR /&gt;Then enter find.sh target (target can be a substring and is not case sensitive). It then recursively descends from the current directory examining regular files which are also some form of text. Those files are then examined for the target string.&lt;BR /&gt;&lt;BR /&gt;Clay&lt;BR /&gt;</description>
      <pubDate>Wed, 16 May 2001 16:52:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/advanced-find/m-p/2529191#M24835</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-16T16:52:56Z</dc:date>
    </item>
  </channel>
</rss>

