First version of a changelog-to-bbcode conversion script. Pipe a portion of the changelog through to get bbcode.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10622 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2010-04-18 16:05:16 +00:00 committed by Git SVN Gateway
parent 9da3443c2d
commit c29aa0836e
1 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/bash
sed -e 's/r\([0-9]\+\)/[rev]\1[\/rev]/g' -e 's/ticket:\([0-9]\+\)/[ticket]\1[\/ticket]/g' -e 's/\ \ \*/\ */g' -e 's/^\ \*\ \(.*\):/\n[b]\1[\/b]/g'