diff options
author | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-01-11 16:20:51 +0000 |
---|---|---|
committer | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-01-11 16:20:51 +0000 |
commit | a6f5954fb62da7f7727281d43bc115532daaf801 (patch) | |
tree | cc5b8c9937b7ad249261a0fe91a9b6b3a4004ebb | |
parent | 0c9304aff46149818ebe5a061aa54697b46232a9 (diff) |
fixed a quoting problem preventing a nice echo
-rwxr-xr-x | grepjournal | 2 |
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 |