aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgrepjournal2
1 files changed, 1 insertions, 1 deletions
diff --git a/grepjournal b/grepjournal
index 012f857..102cf83 100755
--- a/grepjournal
+++ b/grepjournal
@@ -22,7 +22,7 @@ fi
echo -e "$(grep -R $flag "$searchterm" /home/"$USER"/Notes/journal/)" > "$tmpfile"
# more confirmatory text
-echo Command: 'grep -R $flag "$searchterm" /home/"$USER"/Notes/journal/'
+echo "Command: 'grep -R $flag $searchterm /home/"$USER"/Notes/journal/'"
echo ""
# subsitute to get the right format using sed