Alex Rivera | Logout

How to detect EOF in awk?

Asked 2009-10-29T21:22:42.110
14

Is there a way to determine whether the current line is the last line of the input stream?

Edit
Report

1 Answer

0

Hmm the awk END variable tells when you have already reached the EOF. Isn't really much of help to you I guess

answered 2009-10-29T21:27:05.533

Your Answer