[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
READLINE
- To: FEINBERG at CMU-CS-C
- Subject: READLINE
- From: Kent M. Pitman <KMP at MIT-MC>
- Date: Mon, 29 Nov 82 09:16:00 GMT
- Cc: BUG-LISP at MIT-MC
- Original-date: 29 November 1982 04:16-EST
Date: 28 November 1982 02:11-EST (Sunday)
From: FEINBERG at CMU-CS-C
To: Bug-Lisp
Re: READLINE
When using READLINE to read a file, if the last line does not contain
a carriage-return, that line is not read. Clearly either a
carriage-return or end-of-file should work as a line terminator.
-----
It is not "clear" that it should. It is only your belief that it should.
It is the belief of the language spec, however, that it should not. Maclisp
thinks a line should be ended with a newline character. It might be that
the language spec should be changed sometime, but in any case, the observed
behavior is not a bug.
-kmp