diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-06-25 14:18:15 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-06-25 14:18:15 -0700 |
| commit | 5619ad61667dd1a974bf491107b3e73ed333c358 (patch) | |
| tree | 400a4894141ea5d8cade29e7a6c1f0cfe8dba346 /export.sh | |
| parent | ab9c3d9615a9ddc7aa6eb04b51b481cb371748f7 (diff) | |
| download | simponic.xyz-5619ad61667dd1a974bf491107b3e73ed333c358.tar.gz simponic.xyz-5619ad61667dd1a974bf491107b3e73ed333c358.zip | |
add recipes and grammar changes to index
Diffstat (limited to 'export.sh')
| -rwxr-xr-x | export.sh | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,5 +1,10 @@ #!/usr/bin/env bash -emacs index.org --batch -f org-html-export-to-html --kill -tail -n +4 index.html | tee index.php -rm index.html +shopt -s nullglob +for i in *.org; do + name="${i%%.*}" + echo $name + emacs "$i" --batch -f org-html-export-to-html --kill + tail -n +4 "$name.html" | tee "$name.php" + rm "$name.html" "$name.html~" +done |
