I want to find the string "Time series prediction with ensemble models"
in a pdf file using shell script. I am using pdftotext
$file - | grep $string
where $file
is the pdf file name and $string
is the above string. It can find out the line if the entire string contains in a line but it can't find out line like this
Time series prediction with
ensemble models
How can I resolve it? I am new to linux so explanation in detail is appreciated.
Thanks in advance.