monochromatic

monochromatic blog: http://blog.z3bra.org
git clone git://z3bra.org/monochromatic
Log | Files | Refs

commit b818eeaf37ad6bb2afa9d9c01cb5c0b1ef538f44
parent fed1e35fe17520477a4ab262d7c925df499e6af5
Author: z3bra <willyatmailoodotorg>
Date:   Sun, 30 Aug 2015 18:32:31 +0000

Correctly escape * to match lines correctly

Diffstat:
feeds.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/feeds.sh b/feeds.sh @@ -19,7 +19,7 @@ EOF # -e "s/^$/<\/description>\\n<\/item>/" \ # -e "s/^# \[\(.*\)\](\(.*\))/<item>\n<title>\1<\/title>\n<guid>\2<\/guid>/" \ # -e "s/<guid>/&http:\/\/blog.z3bra.org/" $1 -sed "/^[^*]/d;s^* [x0-9a-f]* - \[\(.*\)\](\(.*\))<item><title>\1</title><guid>$BASEURL\2</guid></item>" $1 +sed "s^\* [x0-9a-f]* - \[\(.*\)\](\(.*\))<item><title>\1</title><guid>$BASEURL\2</guid></item>" $1 cat << EOF </channel>