<div dir="ltr"><div class="gmail_extra">On 27 September 2013 17:27, Rolf Schrittenlocher <span dir="ltr"><<a href="mailto:schritte@ub.uni-frankfurt.de" target="_blank">schritte@ub.uni-frankfurt.de</a>></span> wrote:<br>

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I still have no idea what the bourne shell is doing on the client.
      Xymon user uses bash, maybe the error is the result of some other
      script using sh and not related to the file problem. </blockquote></div><br>I think I worked it out.  The first line in "xymonclient.sh" is "#!/bin/sh".  So doesn't matter what the xymon user's shell is, the script runs under bourne shell.  Under Linux, /bin/sh is actually a symlink to bash so the $() works.  But on other systems where /bin/sh is actually a real bourne shell, you gotta do the bash work-around.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">J</div><div class="gmail_extra"><br></div></div>