diff options
author | Guangxiong Lin <[email protected]> | 2022-11-05 23:29:17 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-11-05 23:31:47 +0800 |
commit | 35970f2cf022d5d475a92e3909ad311b38868c65 (patch) | |
tree | 101647e2b3c2764c5d4abf6a79d6c05654095b33 | |
parent | c74c64052d9b2579bf6df95fdee4a7ff7cdf8b6f (diff) | |
download | wd-0.0.7.tar.gz wd-0.0.7.tar.bz2 wd-0.0.7.zip |
Fix duplicated titles when monthly journal is createdv0.0.7
-rwxr-xr-x | wd-journal | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ append_line_if_not_in_file () { local filepath=$1 local line=$2 - if ! grep -q "$line" "$filepath"; then + if ! grep -qF "$line" "$filepath"; then echo "$line" >> "$filepath" fi } |