I have over 1000 text files where I need to remove the first 6 lines and also remove some boilerplate text from the bottom of each file.
I am trying this in one command in sed, if possible.
Here are the individual commands
sed -i.bak '/Some text as starting delimiter/,/Some text as an ending delimiter/d' My-File.txt
sed -e '1,6d' < MyFile.txt
Can these be combined ?
How so?
Thanks