Sed Help Needed..Cutting out peice of file
Hello,
I am new to using sed and would like some help achieving this:
I need to delete everything after <br clear="all"> in a file. The full line that that is on looks like this:
Crevan</i></font></div></td></tr></table></div><br clear="all"><p><div id="fooled" class="subhead1">Have We Been Fooled?</div><span id="fooled2" class="subnav2">
I am trying to stay away from using head, tail, and cut to peice apart the file and put it back together. I was told to try to use sed, but dont have any experience with it. Can anyone help me please?!
Thanks!
farmerjoe
|