I want to chop the top 13 and the last 6 lines from a file
There are several answers on unix/linux but they aren't working for me as the sed options used aren't available on osx, tac isn't available, etc.
Si I am posting here for a q&a that is specific to osx
Right now I am using
$ cat myfile | tail -n+14 | sed '$d' | sed '$d' | sed '$d' | sed '$d' | sed '$d' | sed '$d'
but am looking for a shorter '1 step at the end' way.