Question: we are given a file like this in C we need to do the following in C: The two signposts your code will use to

we are given a file like this in C we need to do the following in C:
The two signposts your code will use to determine what user is responsible for text in the mailbox file are the lines that start with "From " and "From:". (Remember that these are only significant when they are the first thing in the line. In this mailbox format the word From is changed to >From if it appears at the beginning of a line in a message body, so it isnt confused with the special lines.) These represent the end and the beginning of an area of responsibility respectively: a user is responsible for the contents of a message after the "From:" header containing their name, but a "From " indicates the beginning of a new message they arent responsible for.
From mailserver X-Mailer: Eudora Content-Type: text/plain; charset=us-ascii Content - Transfer-Encoding: 7bit Date: Thu, 25 Jul 2019 20:24:27 - 0700 From: Alice To: Vegout Employees Subject: Missing green apron Has anyone seen the dark green cotton apron I was wearing during the dinner shift on Wednesday? It thought I put it in my bag to take home, but when I got home it wasn't there. If you've seen it around the restaurant since then, let me know. -- Alice From mailserver X-Mailer: Elm Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 25 Jul 2019 21:12:34 - 0700 From: Bob To: VegOut Employees Subject: Re: Missing green apron > Has anyone seen the dark green cotton apron I was wearing during the > dinner shift on Wednesday? If you're talking about the one with the embroidered carrot in the corner, I thought I saw it hanging behind the mixer earlier today, but it wasn't there when I looked just now. -- Bob From mailserver X-Mailer: Eudora Content-Type: text/plain; charset=us-ascii Content - Transfer-Encoding: 7bit Date: Thu, 25 Jul 2019 20:24:27 - 0700 From: Alice To: Vegout Employees Subject: Missing green apron Has anyone seen the dark green cotton apron I was wearing during the dinner shift on Wednesday? It thought I put it in my bag to take home, but when I got home it wasn't there. If you've seen it around the restaurant since then, let me know. -- Alice From mailserver X-Mailer: Elm Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 25 Jul 2019 21:12:34 - 0700 From: Bob To: VegOut Employees Subject: Re: Missing green apron > Has anyone seen the dark green cotton apron I was wearing during the > dinner shift on Wednesday? If you're talking about the one with the embroidered carrot in the corner, I thought I saw it hanging behind the mixer earlier today, but it wasn't there when I looked just now. -- Bob