Does anyone know a shell command (egrep,grep) to find a match over multiple lines?
Here is part of my data:
/id D4333F9F; Fri, 23 Mar 2018 16:12:13 -0300 (-03)^M
Subject: =?UTF-8?Q?(Observado)=20[Chamado=202223936]=20-=20?= =?UTF-8?Q?> Configura=C3=A7=C3=A3o=20DNS?=^M
Date: Fri, 23 Mar 2018 16:12:13 -0300^M
Content-Type: text/html; charset=UTF-8^M
Content-Transfer-Encoding: quoted-printable^M
Content-Disposition: inline^M
MIME-Version: 1.0^M
Inside my bash over here, i have tried to find an expression: `
/id D4333F9F.*
(Pay attention at the .*
regular expression to select everything until the end of the file)
The command inserted on the window is simulating a grep
command, but my search stopped at ^M
character
I would like to continue searching until the MIME-Version
of the header mail (this is an Thunderbird file).