From: Mike Taylor Date: Thu, 16 Dec 2010 22:28:16 +0000 (+0000) Subject: Change sample command-line. X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=45e46837cc900c4d864bade051c99fe6fffd7b97;p=irspy-moved-to-github.git Change sample command-line. --- diff --git a/bin/zoom-delete-records.pl b/bin/zoom-delete-records.pl index f6d5a67..4b9834c 100755 --- a/bin/zoom-delete-records.pl +++ b/bin/zoom-delete-records.pl @@ -1,6 +1,6 @@ #!/opt/local/bin/perl # -# ./irspy-delete-broken-records.pl user=admin,password=fruitbat,localhost:8018/IR-Explain---1 'concat(count(irspy:status/irspy:probe[@ok=1]), "/", count(irspy:status/irspy:probe))' 'count(irspy:status/irspy:probe[@ok=1]) = 0 and count(irspy:status/irspy:probe) >= 10' +# ./zoom-delete-records.pl user=admin,password=fruitbat,localhost:8018/IR-Explain---1 'concat(count(irspy:status/irspy:probe[@ok=1]), "/", count(irspy:status/irspy:probe))' 'count(irspy:status/irspy:probe[@ok=1]) = 0 and count(irspy:status/irspy:probe) >= 10' use lib '../lib'; use XML::LibXML;