diff options
author | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2014-06-30 15:28:51 +0200 |
---|---|---|
committer | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2014-06-30 15:28:51 +0200 |
commit | e43d1e56eacf0cc8521de91f4131a49de3752f5f (patch) | |
tree | 1903794833e672136b2ca28fa113e45c7dccd09d /bb.sh | |
parent | ed746d0b0c734c312f8bb9544f5ee40d14d929b1 (diff) |
Sed error on mac
Diffstat (limited to 'bb.sh')
-rwxr-xr-x | bb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 "/^<p>$template_tags_line_header/{s/^<p>$template_tags_line_header//;s/<[^>]*>//g;s/[ ,]\+/ /g;p}" $1 + sed -n "/^<p>$template_tags_line_header/{s/^<p>$template_tags_line_header//;s/<[^>]*>//g;s/[ ,]\+/ /g;p;}" $1 } # Finds all posts referenced in a number of tags. |