tfb <t…@work.it.out> writes:
> steve g <Sgon…@gmail.com> wrote:
>> Lawrence D’Oliveiro <l…@nz.invalid> writes:
>
>> The point is that there are very few occasions where this happens; most
>> programmers probably never even thought abour the EOL character...
>>
>
> If you write programs that grovel over large directory trees with files
> written by naïve users ('naïve' here meaning 'experts in a field which just
> uses computers as tools'), you *will* find filenames that include newlines.
> And carriage returns. And tabs. And almost anything, perhaps actually
> anything, that the underlying filesystem allows.
>
> You won't find them very often, but you must be willing to deal with them.
Do not forget about ansi escape sequences for color. I had to get into a
server once and they changed the foreground color to black. Jerks.