jani Wed, 02 Dec 2009 08:22:05 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=291583
Log: - Sync files Changed paths: U php/php-src/branches/PHP_5_2/sapi/cli/php.1.in U php/php-src/branches/PHP_5_3/sapi/cli/php.1.in Modified: php/php-src/branches/PHP_5_2/sapi/cli/php.1.in =================================================================== --- php/php-src/branches/PHP_5_2/sapi/cli/php.1.in 2009-12-02 06:23:50 UTC (rev 291582) +++ php/php-src/branches/PHP_5_2/sapi/cli/php.1.in 2009-12-02 08:22:05 UTC (rev 291583) @@ -69,7 +69,7 @@ You can access the input line by \fB$argn\fP. While processing the input lines .B $argi contains the number of the actual line being processed. Further more -the paramters \-B and \-E can be used to execute +the parameters \-B and \-E can be used to execute .IR code (see \-r) before and after all input lines have been processed respectively. Notice that the @@ -304,6 +304,9 @@ .IR name Shows configuration for extension .B name +.TP +.B \-\-ini +Show configuration file names .SH FILES .TP 15 .B php\-cli.ini @@ -315,7 +318,7 @@ cannot be found. .SH EXAMPLES .TP 5 -\fIphp -r 'echo "Hello World\\n";'\fP +\fIphp \-r 'echo "Hello World\\n";'\fP This command simply writes the text "Hello World" to standard out. .TP \fIphp \-r 'print_r(gd_info());'\fP @@ -339,7 +342,7 @@ Using this PHP command you can count the lines being input. .TP \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 +In this example PHP expects each input line being 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. .TP @@ -372,11 +375,6 @@ .B http://www.php.net/manual/ .PD 1 .P -A nice introduction to PHP by Stig Bakken can be found here: -.PD 0 -.P -.B http://www.zend.com/zend/art/intro.php -.PD 1 .SH BUGS You can view the list of known bugs or report any new bug you found at: Modified: php/php-src/branches/PHP_5_3/sapi/cli/php.1.in =================================================================== --- php/php-src/branches/PHP_5_3/sapi/cli/php.1.in 2009-12-02 06:23:50 UTC (rev 291582) +++ php/php-src/branches/PHP_5_3/sapi/cli/php.1.in 2009-12-02 08:22:05 UTC (rev 291583) @@ -69,7 +69,7 @@ You can access the input line by \fB$argn\fP. While processing the input lines .B $argi contains the number of the actual line being processed. Further more -the paramters \-B and \-E can be used to execute +the parameters \-B and \-E can be used to execute .IR code (see \-r) before and after all input lines have been processed respectively. Notice that the @@ -304,6 +304,9 @@ .IR name Shows configuration for extension .B name +.TP +.B \-\-ini +Show configuration file names .SH FILES .TP 15 .B php\-cli.ini @@ -315,7 +318,7 @@ cannot be found. .SH EXAMPLES .TP 5 -\fIphp -r 'echo "Hello World\\n";'\fP +\fIphp \-r 'echo "Hello World\\n";'\fP This command simply writes the text "Hello World" to standard out. .TP \fIphp \-r 'print_r(gd_info());'\fP @@ -339,7 +342,7 @@ Using this PHP command you can count the lines being input. .TP \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 +In this example PHP expects each input line being 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. .TP @@ -366,7 +369,7 @@ .PD 1 .P .SH SEE ALSO -For a description of PHP see: +For a more or less complete description of PHP look here: .PD 0 .P .B http://www.php.net/manual/
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php