in reply to Re: Deleting first and last lines of a text file
in thread Deleting first and last TWO(2) lines of a text file

Above was display of lack of my ed-fu; after light "man ed" ...

# In file: "command.ed" 1d $d wQ ...

Replies are listed 'Best First'.
Re^3: Deleting first and last lines of a text file
by vsmeruga (Acolyte) on May 16, 2014 at 09:50 UTC
    Hi I have to automate the task as I have to delete lines in the file every day before my original load task begins Thanks VJ

      So what is stopping you (from automating)?