From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Importing from Oddmuse? Date: Mon, 28 Oct 2013 19:12:07 +0100 Message-ID: <87y55dqn7s.fsf@Rainer.invalid> References: <526E7C4A.7050804@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VarIf-0007fZ-5l for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 14:12:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VarIZ-0003tO-Vk for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 14:12:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:49454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VarIZ-0003tI-P9 for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 14:12:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VarIY-000705-4P for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 19:12:18 +0100 Received: from pd9eb265a.dip0.t-ipconnect.de ([217.235.38.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Oct 2013 19:12:18 +0100 Received: from Stromeko by pd9eb265a.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Oct 2013 19:12:18 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Peter Davis writes: > # hyperlinks > s/\[\[([^]]*)\]\]/[[file:$1.org][$1]]/g; Try this to fix the links maybe: # hyperlinks s/\[\[([^]]*)\]\]/ my $l = $1; $l =~ s: :_:g; "[[file:$l.org][$l]]"/gex; Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada