Tooling adjustment.

This commit is contained in:
Lyle Mantooth 2023-06-02 08:04:25 -04:00
parent bcc52886b1
commit abf817a7e1
Signed by: IslandUsurper
GPG key ID: 6DB52EAE123A5789

View file

@ -9,4 +9,4 @@ create book chapter v1 v2:
passage='{{book}}_{{chapter}}:{{v1}}-{{v2}}' passage='{{book}}_{{chapter}}:{{v1}}-{{v2}}'
cd content/bible_journal cd content/bible_journal
sed -e '/\$/{s/\$1/{{chapter}}/; s/\$2/{{v1}}/; s/\$3/{{v2}}/;}' -e "3s/{}/$(date +%Y-%m-%d)/" _template.txt > "${passage}.md" sed -e '/\$/{s/\$1/{{chapter}}/; s/\$2/{{v1}}/; s/\$3/{{v2}}/;}' -e "3s/{}/$(date +%Y-%m-%d)/" _template.txt > "${passage}.md"
vi + "${passage}.md" hx + "${passage}.md"