about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorNeil Ray <ray@tilde.institute>2020-09-02 13:26:53 -0400
committerNeil Ray <ray@tilde.institute>2020-09-02 13:26:53 -0400
commit6c79fdb987624082670fc50eee55004a0289b33d (patch)
treead8d15dd648ef104414367ac5439f227ef6ad288
parent1117bfbd81c8bc12da59c59a7b8e58c4dfb33ee7 (diff)
downloadprep_html-6c79fdb987624082670fc50eee55004a0289b33d.tar.gz
fix regex in update sed
-rwxr-xr-xupdate.sh2
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