Re: Backslash n [OT] was Line Separator and Paragraph Separator

From: Peter Kirk (peterkirk@qaya.org)
Date: Wed Oct 22 2003 - 08:26:06 CST


On 22/10/2003 05:19, Kent Karlsson wrote:

>
>
>... And LS it's a separator, not a terminator, so EOF has to be a
>line
>terminator.
>
>
>
>> Calling it a line terminator means that every
>>document is forced into the mold of being an integral number of lines
>>long, regardless of the facts.
>>
>>
>
>?? If you mean that concatenating files should not generate a line break
>between the files, I agree.
>
> /kent k
>
>
But if two files each consist of one or more lines of text separated by
LS (but with no final LS), when they are concatenated, surely LS must be
added as a separator. Similarly with paragraphs and PS. And this applies
even when each consists of one line or one paragraph, hence no LS or PS
in either file. Conclusion: both LS and PS must be added in ANY
concatenation. Way to avoid this absurd conclusion: redefine LS and PS
as line and paragraph terminators, to be used at end of file when (as is
normal) this corresponds to a line or paragraph end.

-- 
Peter Kirk
peter@qaya.org (personal)
peterkirk@qaya.org (work)
http://www.qaya.org/


This archive was generated by hypermail 2.1.5 : Thu Jan 18 2007 - 15:54:24 CST