I want to compare each linesline of a particular file with the following string
#orb_plugins = ["local_log_stream", "iiop_profile", "giop", "iiop"];
("file.txt" contains this particular line)
I tried the following by prefixing special characters with ''
IFS=''
while read -r line
do
if [ "$line" == "#orb_plugins = \[\"local_log_stream\", \"iiop_profile\", \"giop\", \"iiop\"\];" ]
then
echo "String found. Do remaining steps"
fi
done < file.txt