[php-maint] Bug#413713: php5 -ws, -sw: first argument ignored

Dan Jacobson jidanni at jidanni.org
Tue Mar 6 16:16:48 CET 2007


Package: php5
Version: 5.2.0-8
Severity: minor

first argument ignored:
$ php -sw LocalSettings.php|wc
      6     246    3422
$ php -ws LocalSettings.php|wc
      3    1020   25998
$ php -s LocalSettings.php|wc
      3    1020   25998
$ php -w LocalSettings.php|wc
      6     246    3422

P.S., on the man page,
       --stripped
       -w             Display source with stripped comments and whitespace
Well OK, but wish the newlines weren't attacked if there is something
else left on the line.

       --syntax-highlight
       -s             Display colour syntax highlighted source

It does not "display" source, it merely outputs a HTML BODY (which
doesn't pass validate(1) very well.)




More information about the pkg-php-maint mailing list