String lines/linesDo: cr/crlf/?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

String lines/linesDo: cr/crlf/?

Stephan Eggermont-3
What behaviour should I expect from String:linesDo:?

The linesDo: in String expects a cr as lineSeparator.
lines in *magritte-model-accessing is more flexible,
it also accepts crlf.

There is no test for this behaviour.

In a cross-platform environment (development on
OS-X and windows, deployment on linux) I prefer
the lines behaviour when reading and writing files.

Stephan

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project