Tooling adjustment.
This commit is contained in:
parent
bcc52886b1
commit
abf817a7e1
2
justfile
2
justfile
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue