On 26-10-2006, Sven Luther <[EMAIL PROTECTED]> wrote: > On Thu, Oct 26, 2006 at 08:36:15AM +0200, Stefano Zacchiroli wrote: >> On Wed, Oct 25, 2006 at 08:44:38PM +0000, Sylvain Le Gall wrote: >> > if you don't remove slashes, you get (after replacing OCAML_STDLIB_DIR), >> > s/@OCamlStdlibDir@//usr/lib/ocaml/3.09.2//g >> > which is not a good replacement. Using my subst, you get >> > s/@OCamlStdlibDir@/\/usr\/lib\/ocaml\/3.09.2\//g >> > which is better... and the \/ will become / in the target file. >> >> Ah ok, I understand now. You are perfectly right, I'll add your patch. > > Why not use % or any other char as the sed subst separator ? > > Friendly, > > Sven Luther > >
I propose "," as replacement, which is the way autoconf generate things. But it is not a solution, "," is a perfect valid char for filename. It is just a way to reduce the probability of having a bug ;-) Regards, Sylvain Le Gall -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

