actually there are n number of lines int he file so some have that string and some doesnt have it .... I need to find out lines based on pattern match and based on that have to do another string operation which macth the pattern ...
Hence its like
if ( check if pattern present)
if yes do this
else
if not d that
fi