From: Brian I. <in...@tt...> - 2002-07-26 18:59:12
|
On 26/07/02 14:22 -0400, Clark C . Evans wrote: > On Fri, Jul 26, 2002 at 12:02:54PM -0600, why the lucky stiff wrote: > | Here's an example from the spec: > | > | clipped: | > | This has one newline. > | > | same as "clipped" above: "This has one newline.\n" > | > | stripped: |- > | This has no newline. > | > | same as "stripped" above: "This has no newline." > | > | kept: |+ > | This has two newlines. > | > | same as "kept" above: "This has two newlines\n\n" > > These are correct. > > unadorned: Only the first trailing new line is counted > with a plus: All trailing new lines count > with a minus: All trailing new lines are stripped This is not pedantically correct. You actually mean "trailing newlines after indentation whitespace has been stripped". # Assume '_' is a space. --- this: | ____Foo __ ____ is this: "Foo\n" --- this: | ____Foo __ ______ is this: "Foo\n\n\n \n" ... Cheers, Brian |