diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-07 12:46:42 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-07 12:46:42 +0800 |
commit | 52af58e39af8ac006c62d1788b6672966b2a9f47 (patch) | |
tree | a07e147eb4d3c2af1e3da5e5fc32ca1f04e9e5b0 /bin/task/context | |
parent | 204f6a6a7024a2744fe948b1014494ebc2fd3a56 (diff) |
Update
Diffstat (limited to 'bin/task/context')
-rwxr-xr-x | bin/task/context | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/task/context b/bin/task/context index 76e1984..75597b3 100755 --- a/bin/task/context +++ b/bin/task/context | |||
@@ -18,7 +18,7 @@ if [ -n "$1" ]; then | |||
18 | fi | 18 | fi |
19 | done <$LOG_FILE | 19 | done <$LOG_FILE |
20 | if [ "$update" = true ]; then | 20 | if [ "$update" = true ]; then |
21 | sed -i -E "s/^$context.*/$context\t$summary" $LOG_FILE | 21 | sed -i -E "s/^$context.*/$context\t$summary/" $LOG_FILE |
22 | else | 22 | else |
23 | echo -e "$context\t$count" >>$LOG_FILE | 23 | echo -e "$context\t$count" >>$LOG_FILE |
24 | fi | 24 | fi |