Re: [Call For Wartectomy] CRLF conversion out of kernel

Oliver Xymoron (oxymoron@waste.org)
Wed, 14 Jul 1999 22:57:15 -0500 (CDT)


On 14 Jul 1999, david parsons wrote:

> So CR/LF is a horrible hack that should never have been done in
> the first place.

Hacks that work well may get to stay until such a time as a clean fix
can replace them. But this is not even a working hack and is broken at a
conceptual level. It can do no better than guess at what's a text file and
what's not and there are common cases where it will be wrong. Moreover,
it's not orthogonal. It's not specific to file systems, it's specific to
files.

The proper way to deal with such files is well understood. Be strict in
what you send and be lenient in what you receive. It's a user space
problem. Changing the appearance of files on disk is as insane as
transparently changing data in a TCP flow.

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/