главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/bb.sh
diff options
context:
space:
mode:
authorAlexey Shpakovsky <alexey@shpakovsky.ru>2014-02-26 19:58:15 +0100
committerAlexey Shpakovsky <alexey@shpakovsky.ru>2014-02-26 19:58:15 +0100
commitd850e6d9d47ae08b4cf191fc370c7a9820ee0d1e (patch)
tree73a0fcdb17dcfa0f528298524131303161ee7acc /bb.sh
parent9ee8c6ae65c079b822a0d935e3f60d4ddd2fa680 (diff)
fix date format in output of "bb.sh list"
Diffstat (limited to 'bb.sh')
-rwxr-xr-xbb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bb.sh b/bb.sh
index 3ce17ea..c98713d 100755
--- a/bb.sh
+++ b/bb.sh
@@ -592,7 +592,7 @@ list_posts() {
n=1
for i in $(ls -t *.html); do
if [[ "$i" == "$index_file" ]] || [[ "$i" == "$archive_index" ]]; then continue; fi
- line="$n # $(awk '/<h3><a class="ablack" href=".+">/, /<\/a><\/h3>/{if (!/<h3><a class="ablack" href=".+">/ && !/<\/a><\/h3>/) print}' $i) # $(LC_ALL=$date_locale date -r $i +"date_format")"
+ line="$n # $(awk '/<h3><a class="ablack" href=".+">/, /<\/a><\/h3>/{if (!/<h3><a class="ablack" href=".+">/ && !/<\/a><\/h3>/) print}' $i) # $(LC_ALL=$date_locale date -r $i +"$date_format")"
lines="${lines}""$line""\n" # Weird stuff needed for the newlines
n=$(( $n + 1 ))
done