-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Earl Hood wrote:
On July 17, 2005 at 16:16, Tony Hansen wrote:
Corollary: Yes, we can come up with examples where internal whitespace
is significant. Yes, we can come up with examples where trailing
whitespace is significant. Yes, we can come up with examples where
trailing trailing newlines are significant. (If you can't, try harder.)
Can you please help me out?
Here are some examples where trailing whitespace is significant:
* some forms of make differentiate between makefile lines
consisting of a single tab and those that are empty
* there is a "fun" programming language expressed entirely using
whitespace
* trailing whitespace CAN affect the formatting of HTML/XML+XSL
* some programming languages allow character data to be split over
lines
Personally, I don't consider these examples alone to be sufficient to
denigrate an algorithm that strips trailing whitespace. Similarly, I
don't consider the fortran example alone to be sufficient to denigrate
nowsp. YMMV.
Tony Hansen
tony(_at_)att(_dot_)com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC25g5xsSylYhzrRYRAsqsAKC5/fjoViJJkufmZ1imejujRm0aJgCcCK19
8yj/8xnpQhie7hOztzRtsgA=
=RGIg
-----END PGP SIGNATURE-----