diff options
author | Guilherme Garcia <gui.garcia67@gmail.com> | 2022-01-28 00:45:09 -0300 |
---|---|---|
committer | Guilherme Garcia <gui.garcia67@gmail.com> | 2022-01-28 00:45:09 -0300 |
commit | 9a94374fcd1f9df758c208c5398eb6ee70dafa2b (patch) | |
tree | d5ed03aada4ae5351116a7d03bcdf82d15f750d7 /bb.sh | |
parent | 1715ee1d605e4619a377dcbd14e6c004d9db4402 (diff) |
Remove .html extension from list of tags in terminal
Diffstat (limited to 'bb.sh')
-rwxr-xr-x | bb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -869,7 +869,7 @@ list_tags() { [[ -f "$i" ]] || break nposts=$(grep -c "<\!-- text begin -->" "$i") tagname=${i#"$prefix_tags"} - tagname=${tagname#.html} + tagname=${tagname%.html} ((nposts > 1)) && word=$template_tags_posts || word=$template_tags_posts_singular line="$tagname # $nposts # $word" lines+=$line\\n |