aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xgrepjournal2
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