"Re Error 41 :No remembered search string"
Using perl Syntax Highlighting
$fecha=`date`;$Mes=(split " ",$fecha)[1];
$Dia=(localtime)[3];
$Completo="Percent Complete = 100";
$Operation="Operation Status = doneSuccessf";
# we get the name of the PSAX from /etc/hosts and put it in a file /tmp/PSAXname
system (" cat /etc/nodos | grep PSAX-4500 > /tmp/PSAXname");
$Dir_PSAX="< /tmp/PSAXname";
open(PSAXNAME, "$Dir_PSAX") or die(" can't open /tmp/PSAXname ");
$Error="false";
while ($line = <PSAXNAME> )
{
$linea=~s/\s+/ /g;
$PSAX = (split " ",$line)[1];
$Existe=`cat /var/opt/OV/share/log/trapd.log | grep $Mes | grep $Dia | grep $PSAX | grep "Percent Complete = 100" | grep "Operation Status = doneSuccessf" `;
$Dia=(localtime)[3];
$Completo="Percent Complete = 100";
$Operation="Operation Status = doneSuccessf";
# we get the name of the PSAX from /etc/hosts and put it in a file /tmp/PSAXname
system (" cat /etc/nodos | grep PSAX-4500 > /tmp/PSAXname");
$Dir_PSAX="< /tmp/PSAXname";
open(PSAXNAME, "$Dir_PSAX") or die(" can't open /tmp/PSAXname ");
$Error="false";
while ($line = <PSAXNAME> )
{
$linea=~s/\s+/ /g;
$PSAX = (split " ",$line)[1];
$Existe=`cat /var/opt/OV/share/log/trapd.log | grep $Mes | grep $Dia | grep $PSAX | grep "Percent Complete = 100" | grep "Operation Status = doneSuccessf" `;
Coloreado en 0.002 segundos, usando GeSHi 1.0.8.4
Es curioso, ¿por qué en la máquina de prueba funciona bien, sin embargo en producción, no? ¿Alguna idea?