From e43d1e56eacf0cc8521de91f4131a49de3752f5f Mon Sep 17 00:00:00 2001 From: Carlos Fenollosa Date: Mon, 30 Jun 2014 15:28:51 +0200 Subject: [PATCH] Sed error on mac --- bb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bb.sh b/bb.sh index 50aa83f..30806b1 100755 --- a/bb.sh +++ b/bb.sh @@ -777,7 +777,7 @@ rebuild_index() { # Accepts either filename as first argument, or post content at stdin # Prints one line with space-separated tags to stdout tags_in_post() { - sed -n "/^

$template_tags_line_header/{s/^

$template_tags_line_header//;s/<[^>]*>//g;s/[ ,]\+/ /g;p}" $1 + sed -n "/^

$template_tags_line_header/{s/^

$template_tags_line_header//;s/<[^>]*>//g;s/[ ,]\+/ /g;p;}" $1 } # Finds all posts referenced in a number of tags.