aboutsummaryrefslogtreecommitdiffstats
path: root/grepjournal
diff options
context:
space:
mode:
authorMatthew Lemon <chaffinach+git@protonmail.ch>2022-01-11 21:18:44 +0000
committerMatthew Lemon <chaffinach+git@protonmail.ch>2022-01-11 21:18:44 +0000
commit240101b966ed33efc2cd204493d2290fe1f9c0db (patch)
tree5ddeccfc52ba85133715810cfd4317e8a11acc02 /grepjournal
parentb39259210eaa7f503c2a8f9d5fe4caac44706e6a (diff)
removed the bullets from grepjournal output for now - looks cleaner in the terminal
Diffstat (limited to 'grepjournal')
-rwxr-xr-xgrepjournal2
1 files changed, 1 insertions, 1 deletions
diff --git a/grepjournal b/grepjournal
index 102cf83..ee1d2e7 100755
--- a/grepjournal
+++ b/grepjournal
@@ -26,7 +26,7 @@ echo "Command: 'grep -R $flag $searchterm /home/"$USER"/Notes/journal/'"
echo ""
# subsitute to get the right format using sed
-sed -r -i 's/\/home\/lemon\/Notes\/journal\/([[:digit:]]*-[[:digit:]]*-[[:digit:]]*)\.md:-[[:blank:]](.*)/* \1 \2/' "$tmpfile"
+sed -r -i 's/\/home\/lemon\/Notes\/journal\/([[:digit:]]*-[[:digit:]]*-[[:digit:]]*)\.md:-[[:blank:]](.*)/\1 \2/' "$tmpfile"
# output
cat "$tmpfile" | sort