Fix notegrep output bug
This commit is contained in:
parent
7873536b92
commit
56eb26ce57
1 changed files with 15 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue