diff options
author | Alexey Shpakovsky <alexey@shpakovsky.ru> | 2014-02-26 19:58:15 +0100 |
---|---|---|
committer | Alexey Shpakovsky <alexey@shpakovsky.ru> | 2014-02-26 19:58:15 +0100 |
commit | d850e6d9d47ae08b4cf191fc370c7a9820ee0d1e (patch) | |
tree | 73a0fcdb17dcfa0f528298524131303161ee7acc /bb.sh | |
parent | 9ee8c6ae65c079b822a0d935e3f60d4ddd2fa680 (diff) |
fix date format in output of "bb.sh list"
Diffstat (limited to 'bb.sh')
-rwxr-xr-x | bb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |