главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Fenollosa <carlos.fenollosa@gmail.com>2014-06-30 11:45:47 +0200
committerCarlos Fenollosa <carlos.fenollosa@gmail.com>2014-06-30 11:45:47 +0200
commit5099d4811bb3bdf14deedcd36b7c4d271024e835 (patch)
tree1ff577a495d102d1f2bcc45c93ea0fa15a9c5475
parent44ec89ae2c4ef99ca2e418a3d809029f95f0a727 (diff)
Fixed #56
-rwxr-xr-xbb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bb.sh b/bb.sh
index a16679c..51dab29 100755
--- a/bb.sh
+++ b/bb.sh
@@ -785,7 +785,7 @@ tags_in_post() {
# Prints one line with space-separated tags to stdout
posts_with_tags() {
[ $# -lt 1 ] && return
- tag_files="$(echo "$@" | sed "s/\S\+/$prefix_tags_&.html/g")"
+ tag_files="$(echo "$@" | sed "s/\S\+/$prefix_tags&.html/g")"
sed -n '/^<h3><a class="ablack" href="[^"]*">/{s/.*href="\([^"]*\)">.*/\1/;p}' $tag_files
}