Ubuntu Pastebin

Paste from MisteryJohn at Tue, 13 Jan 2015 21:14:34 +0000

Download as text
1
so .. i need sed to do the following : replace every occurence of the following in a file : [text1](text2) with [[text2|text1]], with text1 and text2 being mostly any string and keep the []()| as they are on the pattern. Also, can i do this with awk ? how ?
Download as text