in reply to Deleting last line of file

yeah
read the file, then print everything back without the last line.

Tip: if you show some code, I bet you would get more results.


He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/