Re: [netmod] Last Call: <draft-ietf-netmod-artwork-folding-07.txt> (Handling Long Lines in Inclusions in Internet-Drafts and RFCs) to Best Current Practice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Paul,

But now that I am thinking about this, it occurs to me that maybe the two methods can be collapsed into one:

just make the sequence to be inserted for folding be (using ABNF):

"\" %x0C [%x0A] *" " ["\"]

The trailing backslash only needs to be inserted if the character following it is a space or backslash. (IOW it is *optional* if the next character is *not* space or backslash.)

So, when removing the folding, upon finding ("\" %x0C [%x0A] *" ") you remove that and if there is then a backslash remove that too.


Are you suggesting a hybrid approach where, within a folded file, a line may be folded one way one the other based on context?  Would that detract from readability?

FWIW, I just posted -08 that adds forced-folding support to the single-backslash strategy as well as a couple forced folding examples.   


Thank you for requesting these examples, as an issue in the `rfcfold` script was found and fixed.

Kent // as co-author


[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Mhonarc]     [Fedora Users]

  Powered by Linux