On 2011-06-16, at 19:46, Gerd Stolpmann wrote: > In such cases printf is a good workaround. Exists everywhere as shell > command, is a POSIX standard, and works as usual, with full control over > newlines.
When I was young, printf didn't exist, so I used echo $foo | tr -d '\012' But Gerd's advice is good, next time I'll use printf. -- Damien -- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs
