summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2018-02-21 10:32:31 +1030
committerdaniel-Jones <daniel@danieljon.es>2018-02-21 10:32:31 +1030
commit3b194ba5a62dc917bd966f20ba60c55cb5d4e18d (patch)
tree951148ab9b275cad68d4d60b65c682c5b0afa934
parent7a6226a7db1e18b237dd4da49d948d0429a50075 (diff)
downloadanimegrep-3b194ba5a62dc917bd966f20ba60c55cb5d4e18d.tar.gz
animegrep-3b194ba5a62dc917bd966f20ba60c55cb5d4e18d.zip
added -i to grep function call not the command.......
-rwxr-xr-xanimegrep.sh4
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