Skip to content

Commit

Permalink
Fix for #127
Browse files Browse the repository at this point in the history
  • Loading branch information
kspalaiologos authored Jan 13, 2024
1 parent d9e5e15 commit 9cda907
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions bz3grep
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,7 @@ grep_args=""
hyphen=0
silent=0

prog=${0##*/}

# handle being called 'zegrep' or 'zfgrep'
case $prog in
*egrep*) prog=zegrep; grep_args='-E';;
*fgrep*) prog=zfgrep; grep_args='-F';;
*) prog=zstdgrep;;
esac
prog=bz3grep

# skip all options and pass them on to grep taking care of options
# with arguments, and if -e was supplied
Expand Down Expand Up @@ -133,4 +126,4 @@ else
set +f
fi

exit "${EXIT_CODE}"
exit "${EXIT_CODE}"

0 comments on commit 9cda907

Please sign in to comment.