cvs: phpdoc /scripts genfuncsummary.sh
| From: | Hartmut Holzgraefe | Date: | Tue, 05 Feb 2002 18:03:27 +0000 |
| Subject: | cvs: phpdoc /scripts genfuncsummary.sh | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969341919@lists.php.net to get a copy of this message | ||
hholzgra Tue Feb 5 13:03:27 2002 EDT
Modified files:
/phpdoc/scripts genfuncsummary.sh
Log:
prevent misalignment due to wrong indentation in source files
Index: phpdoc/scripts/genfuncsummary.sh
diff -u phpdoc/scripts/genfuncsummary.sh:1.5 phpdoc/scripts/genfuncsummary.sh:1.6
--- phpdoc/scripts/genfuncsummary.sh:1.5 Sun Jan 27 11:57:50 2002
+++ phpdoc/scripts/genfuncsummary.sh Tue Feb 5 13:03:26 2002
@@ -16,7 +16,7 @@
# | Authors: Gabor Hoitsy <goba@php.net> |
# +----------------------------------------------------------------------+
#
-# $Id: genfuncsummary.sh,v 1.5 2002/01/27 16:57:50 hholzgra Exp $
+# $Id: genfuncsummary.sh,v 1.6 2002/02/05 18:03:26 hholzgra Exp $
if test -f funcsummary.awk; then
awkscript=funcsummary.awk
@@ -30,7 +30,7 @@
for i in
find $1 -name "*.[ch]" -print -o -name "*.ec" -print | xargs
egrep -li "{{{ proto" | sort ; do
echo $i | sed -e "s|$1|# php4|"
- awk -f $awkscript < $i | sort +1 | awk -F "---" '{ print $1; print $2; }' |
sed 's/^[[:space:]]+//'
+ awk -f $awkscript < $i | sort +1 | awk -F "---" '{ print $1; print $2; }' |
sed -e's/^[[:space:]]+//' -e's/[[:space:]]+/ /'
done
if test -f $1/language-scanner.lex # only in PHP3
then