Make newline on last record explicit.
authorCraig A. Berry <craigberry@mac.com>
Thu, 6 Jan 2011 01:14:06 +0000 (19:14 -0600)
committerCraig A. Berry <craigberry@mac.com>
Thu, 6 Jan 2011 04:00:29 +0000 (22:00 -0600)
commitc1b879e57aecbfe520b3f44dd28472d1862f037d
tree1fa7431d1bc4beb0235c8ba6088a1971c004977f
parent63e9201e866868a5d97edac3c19055f25c3ca925
Make newline on last record explicit.

On VMS, the last line written to a file will get a trailing newline
willy nilly.  This has its advantages insofar as you never get the
"no newline at end of file" warnings from various utilities, but
reality conflicts with expectations when you explicitly test for
the last (or only) line *not* ending with newline, which is what
the recent addtion to ref.t (5e3072707906cc4cb8a364c4cf7c487df0300caa)
was doing.  Adding an explicit newline makes everyone happy.
t/op/ref.t