How do I delete all the lines after the line containing text ***DISCLOSURES*** . I want to delete this line too.
Thank you
How do I delete all the lines after the line containing text ***DISCLOSURES*** . I want to delete this line too.
Thank you
Try:
sed '/\*\*\*DISCLOSURES\*\*\*/,$d' inputfile
Jean-Pierre.
Thank you that worked