]> granicus.if.org Git - php/commitdiff
-Fix notice
authorDerick Rethans <derick@php.net>
Wed, 21 May 2003 18:41:28 +0000 (18:41 +0000)
committerDerick Rethans <derick@php.net>
Wed, 21 May 2003 18:41:28 +0000 (18:41 +0000)
sapi/cli/php.1.in

index 9e6b2c075d6e9c3550804745d7bd28435b587d19..a7a1bf5ab5e67d81b0b8c9dd528a9dda9ae0c05b 100644 (file)
@@ -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.