From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p5R9Vrjn020551 for ; Mon, 27 Jun 2011 11:31:53 +0200 X-IronPort-AV: E=Sophos;i="4.65,431,1304287200"; d="scan'208";a="86140648" Received: from cac94-1-81-57-150-173.fbx.proxad.net (HELO [192.168.0.15]) ([81.57.150.173]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA; 27 Jun 2011 11:31:48 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) From: Damien Doligez In-Reply-To: <1308246400.22800.237.camel@thinkpad> Date: Mon, 27 Jun 2011 11:31:48 +0200 Content-Transfer-Encoding: 7bit Message-Id: <6A9A90E6-88E9-40EF-AEBA-39C95C573511@inria.fr> References: <0EC5BE6E-FBB1-4B89-8362-5F9005AE7B84@inria.fr> <4DFA2236.5010403@imag.fr> <1308246400.22800.237.camel@thinkpad> To: caml users X-Mailer: Apple Mail (2.1084) Subject: Re: [Caml-list] OCaml 3.12.1 compatibility report 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