From 3b194ba5a62dc917bd966f20ba60c55cb5d4e18d Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Wed, 21 Feb 2018 10:32:31 +1030 Subject: added -i to grep function call not the command....... --- animegrep.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/animegrep.sh b/animegrep.sh index f099d4e..68582ba 100755 --- a/animegrep.sh +++ b/animegrep.sh @@ -89,7 +89,7 @@ function getsubs #echo "CFILE is "$CFILE""; #echo "extracting subs from $1 track ${TRACK} to out/subs.srt"; mkvextract tracks "$1" ${TRACK}:out/subs.srt; - grepsubs -i "$1" "$CFILE"; + grepsubs "$1" "$CFILE"; } function grepsubs @@ -100,7 +100,7 @@ function grepsubs #echo "line in grep ${line}"; #parselinie $x "$1" $line; parseline "$1" "$line" "$2"; - done < <(grep "$WORD" out/subs.srt); + done < <(grep -i "$WORD" out/subs.srt); } function parseline -- cgit v1.2.3