Fix notegrep output bug

This commit is contained in:
dmarakom6 2021-06-27 14:25:58 +03:00
parent 7873536b92
commit 56eb26ce57

View file

@ -170,9 +170,7 @@ function notegrep() {
. ~/.shellnotes/util/notegrep/sf.sh
;;
esac
return 0
fi
if [ -z $notename ]; then
echo "Invalid input."
@ -186,10 +184,10 @@ function notegrep() {
fi
do_grep
fi
unset GREP_OPTIONS
unset -f check_params
unset -f do_grep