X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=tools%2Fproducts.php;fp=tools%2Fproducts.php;h=0000000000000000000000000000000000000000;hp=9c2e7430ea564023148756401e54bc2dd19a6139;hb=61515785f7de12d8b2a29090020e684988f89977;hpb=75efa1051d02aa2446615b3c4c0940be7b794594 diff --git a/tools/products.php b/tools/products.php deleted file mode 100644 index 9c2e7430e..000000000 --- a/tools/products.php +++ /dev/null @@ -1,50 +0,0 @@ -#!/usr/bin/php -f - $maxlen) - $maxlen = strlen($data[1]); -} - -pclose($fp); - -arsort($files); - -$current_count = 0; -$current_files = 0; - -foreach ($files as $file => $count) -{ - if ($current_count == 0) - print(basename($file) . " => $count products\n"); - - if ($count != $current_count) - { - if ($current_count != 0) - print("$current_files PPDs with $current_count products.\n"); - - $current_count = $count; - $current_files = 1; - } - else - $current_files ++; -} - -if ($current_count != 0) - print("$current_files PPDs with $current_count products.\n"); - -print("Maximum length of Product string: $maxlen\n"); - -?>