diff options
author | daniel-Jones <daniel@danieljon.es> | 2018-02-21 10:32:31 +1030 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2018-02-21 10:32:31 +1030 |
commit | 3b194ba5a62dc917bd966f20ba60c55cb5d4e18d (patch) | |
tree | 951148ab9b275cad68d4d60b65c682c5b0afa934 | |
parent | 7a6226a7db1e18b237dd4da49d948d0429a50075 (diff) | |
download | animegrep-3b194ba5a62dc917bd966f20ba60c55cb5d4e18d.tar.gz animegrep-3b194ba5a62dc917bd966f20ba60c55cb5d4e18d.zip |
added -i to grep function call not the command.......
-rwxr-xr-x | animegrep.sh | 4 |
1 files 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 |