diff --git a/indexCorpus.sh b/indexCorpus.sh old mode 100644 new mode 100755 index 88a81f1..f1d537e --- a/indexCorpus.sh +++ b/indexCorpus.sh @@ -15,7 +15,7 @@ chunksMaxLines=4000 #Help and args check -if [ -z $2 ] +if [ "$#" -ne 3 ] then echo "" echo "${BLUE}IDfr${NC} - Sisyphe Corpus indexation - 2022/03"