diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-03-15 19:48:13 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-03-15 19:48:13 +0000 |
commit | 86f26aefb312cd24a08c9c773c96c50da429bb43 (patch) | |
tree | 2fa4a305fd42052759da4a18202e51f69f47a95b /convert_md_to_asciidoc.sh | |
parent | added a new script to conevrt all md to asciidoc, rss feed now sends the enti... (diff) | |
download | blog-86f26aefb312cd24a08c9c773c96c50da429bb43.tar.gz blog-86f26aefb312cd24a08c9c773c96c50da429bb43.zip |
tag grouppings, WIP
Diffstat (limited to '')
-rwxr-xr-x | convert_md_to_asciidoc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/convert_md_to_asciidoc.sh b/convert_md_to_asciidoc.sh index bec8985..79b6442 100755 --- a/convert_md_to_asciidoc.sh +++ b/convert_md_to_asciidoc.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash for markdown in ./mds/*.md; do - name=$(basename -s ".md" ${markdown}) - pandoc -t asciidoc -f markdown ${markdown} > ./mds/${name}.txt + name=$(basename -s ".md" "${markdown}") + pandoc -t asciidoc -f markdown "${markdown}" > ./mds/"${name}".txt done |