diff options
author | Neil Ray <ray@tilde.institute> | 2020-09-02 13:26:53 -0400 |
---|---|---|
committer | Neil Ray <ray@tilde.institute> | 2020-09-02 13:26:53 -0400 |
commit | 6c79fdb987624082670fc50eee55004a0289b33d (patch) | |
tree | ad8d15dd648ef104414367ac5439f227ef6ad288 | |
parent | 1117bfbd81c8bc12da59c59a7b8e58c4dfb33ee7 (diff) | |
download | prep_html-6c79fdb987624082670fc50eee55004a0289b33d.tar.gz |
fix regex in update sed
-rwxr-xr-x | update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh index 9a8ab00..51e1684 100755 --- a/update.sh +++ b/update.sh @@ -10,7 +10,7 @@ git add store_plan_proj git commit -m 'usual updates to plan & project' sed "s/TINMAN/$tin_img/g" top.tmpl > top.html sed "s/^Status:/Status (`date +%Y-%m-%d`):/" ~/.project > project.cooked -sed "s/^(Status.+:)$/<strong>&</strong>/" project.cooked > project.done +sed "s/^Status.*:$/<strong>&</strong>/" project.cooked > project.done cat top.html ~/.plan mid.html project.done end.html > ~/public_html/index.html if [ ! -e ~/public_html/$tin_img ]; then cp $tin_img ~/public_html; fi rm project.cooked project.done top.html |