Tinderbox v9 Icon

Text line endings

This topic likely will not affect users unless they are doing multi-line edit scripting or using the Explode feature.

Not all line breaks are equal. 2 different characters get used for line endings:

To muddy the waters, different OSs have used different line end encodings:

Text generated in Tinderbox (except perhaps very early versions running pre-macOS) uses the Unix/macOS style line offered style of line end, \n.

When including a line end as part of an Explode delimiter, \r and r generally have the same effect so using \n as a 'default' is probably good working practice.

However, depending on the source of text brought into Tinderbox, e.g. text file dragged in for exploding, the designator used for line end may have to be adjusted.