AWK question

Hi.

I have a problem whit a script AWK.
I need erase the last position of one file.
What to do?

What have you tried?

nothing

I would probably use sed. Have you tried sed?

No, I use AWK. is possible?

Sure it is, but generally, everyone will want to help you if you have shown that you have put some effort into solving your own problem.

They will fix your code, write code, and make plenty of suggestions but they will not do your work for you.

Check one of the awk tutorials here:

http://www.unix.com/answers-frequently-asked-questions/13774-unix-tutorials-programming-tutorials-shell-scripting-tutorials.html