I think the problem is that the file list produced by the ls in the back ticks is showing up as a list all on one line rather than a list of files one per line. Not absolutely sure about that, but if you do an echo `ls -1d ./someregexp` it produces one line of output. It might work to actually write a script to make sure the output has newlines between the  file names and then run that in the hobbit config instead of the ls. <div>
<br class="webkit-block-placeholder"></div><div>Beyond that I have no idea.</div><div><br class="webkit-block-placeholder"></div><div>Steve.</div><div><br><br><div class="gmail_quote">On Thu, Mar 13, 2008 at 12:48 PM, Manocchia, Robert <<a href="mailto:Robert-Manocchia@idexx.com">Robert-Manocchia@idexx.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div lang="EN-US" link="blue" vlink="blue">

<div>

<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">     The files do not
show up in the client data listing on the server</span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">            I
tried the following in local-clients.cfg: file:`ls -1d /usr/sap/</span></font><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">PRD</span></font><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">/D01/work/core` and it
worked. It just doesn't like the D0* expression.</span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">            Here
is the cut and paste for each</span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">            local-clients.cfg:</span></font>
<font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">file:`ls -1d /usr/sap/</span></font><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">PRD</span></font><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">/D01/work/core`</span></font></p>
<div class="Ih2E3d">

<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">            hobbit-clients.cfg:
</span></font><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">FILE</span></font><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">
"%/usr/sap/</span></font><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">PRD</span></font><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">/D0.*/work/core" NOEXIST yellow</span></font></p>


<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">            </span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

</div><div><div></div><div class="Wj3C7c"><p style="margin-left:.5in"><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">-----Original Message-----<br>
<b><span style="font-weight:bold">From:</span></b> <a href="mailto:sholmes42@gmail.com" target="_blank">sholmes42@gmail.com</a>
[mailto:<a href="mailto:sholmes42@gmail.com" target="_blank">sholmes42@gmail.com</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Steve
Holmes<br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, March 13, 2008
10:29 AM<br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [hobbit] Regular
Expression problem</span></font></p>

<p style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

<p style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Robert, </span></font></p>

<div>

<p style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<div>

<p style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Do the files show up in the client data listing on the
server?</span></font></p>

</div>

<div>

<p style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">You might need to put the match string in the FILE
statement in hobbit-clients.cfg in double quotes. </span></font></p>

</div>

<div>

<p style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<div>

<p style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Steve.</span></font></p>

<div>

<p style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Thu, Mar 13, 2008 at 9:47 AM, Manocchia, Robert
<<a href="mailto:Robert-Manocchia@idexx.com" target="_blank">Robert-Manocchia@idexx.com</a>>
wrote:</span></font></p>

<div link="blue" vlink="purple">

<div>

<p style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">           
I have the following scenario. I want to monitor the creation of core files in
the following directories /usr/sap/PRD/D01/work, /usr/sap/PRD/D02/work,
usr/sap/PRD/D03/work, /usr/sap/PRD/D04/work, /usr/sap/PRD/D05/work, and
/usr/sap/PRD/D06/work.</span></font></p>

<p style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">           
I have the following:</span></font></p>

<p style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p style="margin-left:1.75in;text-indent:-.25in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">1.</span></font><font size="1"><span style="font-size:7.5pt">       </span></font><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">In
client-local.cfg: [server1]</span></font></p>

<p style="margin-left:1.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">                                   
File:`ls -1d /usr/sap/PRD/D0*/work/core`</span></font></p>

<p style="margin-left:1.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p style="margin-left:1.75in;text-indent:-.25in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">2.</span></font><font size="1"><span style="font-size:7.5pt">       </span></font><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">In
hobbit-clients.cfg: FILE %/usr/sap/PRD/D0.*/work/core NOEXIST yellow</span></font></p>

<p style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p style="margin-left:1.75in;text-indent:-.25in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">3.</span></font><font size="1"><span style="font-size:7.5pt">       </span></font><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">And in
hobbit-alerts.cfg: MAIL <a href="mailto:Me@domain.com" target="_blank">Me@domain.com</a>
COLOR=yellow RECOVERED</span></font></p>

<p style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">           
This is not working. When click on the files for this server I do not see these
files being selected.</span></font></p>

<p style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">           
Any help would be appreciated.</span></font></p>

</div>

</div>

</div>

<p style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br clear="all">
<br>
-- <br>
There is no greater gift to an insecure leader that quite matches a vague enemy
who can be used to whip up fear and hatred among the population.<br>
-Paul Rusesabagina, humanitarian (b. 1954)<br>
<br>
Human beings are perhaps never more frightening than when they are<br>
convinced beyond doubt that they are right. -Laurens van der Post, explorer<br>
and writer (1906-1996) </span></font></p>

</div>

</div></div></div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br>There is no greater gift to an insecure leader that quite matches a vague enemy who can be used to whip up fear and hatred among the population.<br>-Paul Rusesabagina, humanitarian (b. 1954)<br>
<br>Human beings are perhaps never more frightening than when they are<br>convinced beyond doubt that they are right. -Laurens van der Post, explorer<br>and writer (1906-1996)
</div>