Hi,
I need some help in removing the header (first line) and the trailer (last line) in a give file...
The data file actually comes in EBCDIC format and I converted it into ASCII..
Now I need to strip off the first line and the last line..
I think we can use sed to do something like this:
sed -n -e '2,964p' InPutFile.dat > OutPutFile.dat
Since I know the file has 965 rows, I could do this...But I would like to automate this script..
Thank you,
Madhu