From 63f17fa9f2d7277ec25724bf9757c439deaf7480 Mon Sep 17 00:00:00 2001
From: Carlos Fenollosa <carlos.fenollosa@gmail.com>
Date: Thu, 3 Jul 2014 16:07:05 +0200
Subject: Hide warning message in sed

---
 bb.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'bb.sh')

diff --git a/bb.sh b/bb.sh
index dc4f8fe..281a828 100755
--- a/bb.sh
+++ b/bb.sh
@@ -786,7 +786,7 @@ tags_in_post() {
 posts_with_tags() {
     [ $# -lt 1 ] && return
     tag_files="$(for i in $@; do echo -n $prefix_tags""$i.html" "; done)"
-    sed -n '/^<h3><a class="ablack" href="[^"]*">/{s/.*href="\([^"]*\)">.*/\1/;p;}' $tag_files
+    sed -n '/^<h3><a class="ablack" href="[^"]*">/{s/.*href="\([^"]*\)">.*/\1/;p;}' $tag_files 2> /dev/null
 }
 
 # Rebuilds tag_*.html files
-- 
cgit v1.2.3