summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2003-05-21 18:41:28 +0000
committerDerick Rethans <derick@php.net>2003-05-21 18:41:28 +0000
commit7b26ddd9b01fb242f5a6ec3ada5804a8019f4e5b (patch)
tree5aece3a4673db6df2cab5aa9076278d8bb6728e8 /sapi
parentd824cd33093346d7d8e64a05a6049d9070556945 (diff)
downloadphp-git-7b26ddd9b01fb242f5a6ec3ada5804a8019f4e5b.tar.gz
-Fix notice
Diffstat (limited to 'sapi')
-rw-r--r--sapi/cli/php.1.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php.1.in b/sapi/cli/php.1.in
index 9e6b2c075d..a7a1bf5ab5 100644
--- a/sapi/cli/php.1.in
+++ b/sapi/cli/php.1.in
@@ -309,7 +309,7 @@ configuration information. If you then combine those two
\fIphp \-E 'echo "Lines: $argi\\n";'\fP
Using this PHP command you can count the lines being input.
.TP
-\fIphp \-R '$l+=count(file($argn));' \-E'echo "Lines:$l\\n";'\fP
+\fIphp \-R '@$l+=count(file($argn));' \-E 'echo "Lines:$l\\n";'\fP
In this example PHP expects each input line beeing a file. It counts all lines
of the files specified by each input line and shows the summarized result.
You may combine this with tools like find and change the php scriptlet.