X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=funcsummary.php;h=0a4e858c1bc7031d03a1940cc46b0bc0c99334a3;hb=153ce526e9d8e81ff03388cf536babab704c76f5;hp=dad2f5bb0cf989a4fcb2dd4d715362ad13946034;hpb=7f914f24a4276b5c3489d410814f8d1125c8264f;p=m6w6%2Fext-http
diff --git a/funcsummary.php b/funcsummary.php
index dad2f5b..0a4e858 100644
--- a/funcsummary.php
+++ b/funcsummary.php
@@ -19,6 +19,12 @@ function ff($t)
$t = preg_replace('/(\
\n)+\<\/pre\>(\
\n)+/', '
', $t); return sprintf('
%s
', ltrim($t, ' *')); } +function e($s) +{ + $a = func_get_args(); + array_unshift($a, STDERR); + call_user_func_array('fprintf', $a); +} $preface = <<<_PREFACE @@ -84,22 +90,28 @@ if ($_SERVER['argc'] < 2) { printf($preface, basename(getcwd())); -foreach (array_slice($_SERVER['argv'], 1) as $f) { - if (mf($f, $m)) { - printf("