PREV INDEX NEXT

Author: Unknown
Subject: last line does not end with newline
Date: Tuesday, 29 Sep 2020, 19:04:31

Hi, for the HERE documents
 "If the last line read does not end with a newline, one is
  appended" I am not sure how to test that.

Since we are doing:
a\n
b\n
c\n
WORD

I am not sure how to remove the '\n' on the second last line
PREV INDEX NEXT