diff options
author | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-01-13 16:07:28 +0000 |
---|---|---|
committer | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-01-13 16:07:28 +0000 |
commit | 5000a23e1f31c2d55132d1ee29c0bc303a2047c7 (patch) | |
tree | 5b906aebc580ddaa19b40a8b58227249c5cd52f1 | |
parent | 1937dbfec2d18a40875397ec70bb9bfef2f37208 (diff) |
now properly uses the -i flag
-rwxr-xr-x | grepjournal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grepjournal b/grepjournal index 9c929fe..7b66262 100755 --- a/grepjournal +++ b/grepjournal @@ -61,8 +61,8 @@ while IFS= read -r line; do fi if [[ $out_line =~ $searchterm ]]; then out_line=${out_line/$searchterm/"${colourOrange}${txBold}$searchterm${txReset}"} - echo -e "$out_line" >> "$output_file" fi + echo -e "$out_line" >> "$output_file" done < "$grepped_results" # output |