Commit Diff


commit - 61dbf5e8dac05544cf4189a465f5afeea3bd965d
commit + 53e7b9ead19bcfde25df0973791c9e3b41749140
blob - 0df56a1165df5eeab1923ac0bc570da6ad0bfaa9
blob + 4621c472dcf21631f253c6209273477d4f9bc33b
--- t_done.sh
+++ t_done.sh
@@ -139,7 +139,7 @@ t_done() {
 		while read -r todo; do
 			tmp=$(mktemp)
 			awk -v str="$todo" \
-				'$0 == str { gsub (/- \[ ]/, "- [x]") } { print }' \
+				'$0 == str { gsub (/- \[ ]/, "- [X]") } { print }' \
 				"$todo_file" > "$tmp"
 			mv "$tmp" "$todo_file"
 		done
@@ -161,7 +161,7 @@ t_toggle() {
 			tmp=$(mktemp)
 			check=
 			expr "$todo" : "$re_done" > /dev/null &&
-				check='- [ ]' || check='- [x]'
+				check='- [ ]' || check='- [X]'
 			awk -v str="$todo" -v check="$check" \
 				'$0 == str { gsub (/- \[[ xX]]/, check) } { print }' \
 				"$todo_file" > "$tmp"