I need to know how to delete a line using a wildcard using sed. The line begins with
!R! BARCODE. The rest of the line can varies depending on the item.
So how do I tell sed to delete the !R! BARCODE and everything afterwards to the end of the line. I don't want to actually remove the line, just all the test on the line that begins with !R! BARCODE.