<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 31/05/2022 11:56, Dirk Koopman via
      Dxspider-support wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:7d66b341-8175-940a-062e-9a9921895370@tobit.co.uk"><font
        face="Calibri">spawn("find /spider/local_data/logs -type f
        -mtime +62 -exec rm -f {} \;").</font></blockquote>
    <br>
    <font face="Calibri">is actually wrong, because the \; is required
      by the underlying shell that spawn runs the find command in,  and
      should be \\; if using " as the quoting character for the spawn().
    </font><br>
    <br>
    <font size="4">This is a one of those perl quoting conundrums. This
      is probably better quoted like this:<br>
    </font><br>
    <font size="4"><font size="4"><font face="Calibri"><font
            face="monospace">spawn('find /spider/local_data/logs -type f
            -mtime +62 -exec rm -f {} \;').</font><br>
          <br>
        </font></font>or<br>
      <br>
    </font><font size="4" face="monospace">spawn(q[find
      /spider/local_data/logs -type f -mtime +62 -exec rm -f {} \;]).<br>
      <br>
    </font><font size="4"><font face="Calibri">sorry about that.<br>
        <br>
        Dirk G1TLH<br>
      </font></font>
  </body>
</html>