fixing CR/LF/CRLF mess

Bolot Kerimbaev bolot at cc.gatech.edu
Mon Sep 6 19:57:29 UTC 1999


For those of you who don't have BBEdit (say, on Linux), you can use
Squeak to fix most of the problems.

Solution 1.

Use CrLfStream


Solution 2.

Open a FileList, select the file.
If the file is too large, do get entire file.

Now, depending on where the file came from...

>From Windows, do remove line feeds.
>From UNIX, select all (alt-a, command-a), then alt-u (command-u), then
accept (alt-s, command-s).

alt-u/command-u converts LFs into CRs, that's why it doesn't really work
for Windows files...

bolot





More information about the Squeak-dev mailing list