#!/bin/bashLIST=/errors_exception.txtcd /testfor PATTERN in `cat $LIST`do        for FILE in $(ls)        do        if zcat $FILE | grep -Fxq $PATTERN; then        echo $PATTERN found pattern in $FILE >> output        fidonedoneI'm trying to scan a lots of compressed log files (.gz) and check if the pattern I'm looking for is still exist on those logs.For example in my code above, lets say, errors_exception.txt contains belowone one two threefour fivesix/test - dir contain log filesWhy is it when I run the script, it doesn't read the 2nd line one two three as a single line?When I run bash -x test.sh (name of the script) it reads the 2nd line like there's another 3 more line where in the text file it shows one two three as a single line. 
Grep a string with spaces from a file
bash;grep