↧
Answer by terdon for Using sed to replace the hexadecimal code for URL and to...
If I understand correctly, you want to do two things:Replace the #5c616c with url(#grad1).Insert these lines after the opening <svg ...> tag:<linearGradient id="grad1" x1="0%" y1="0%"...
View ArticleUsing sed to replace the hexadecimal code for URL and to insert new SVG codes...
I would like to ...replace the hexadecimal code for URL (id) in all SVG filesinsert/add the new lines of SVG codes after <svg ...>, using Regex. Input:<svg xmlns="http://www.w3.org/2000/svg"...
View Article