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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

