enhanced version of 'correct'

Dan Klein dvk at mi-cec.UUCP
Sat Nov 19 05:37:48 AEST 1983


The fix to the punt when you hit carriage return when you do not have a
local dictionary is as follows:

		case '\n':
>>			if (psLdfile != NULL) {
				AddtoasLocdict(wordin);
				bLocdictflag++;
>>			}
			break;

The new lines are flagged with ">>".  Curiously, this only punts on an /11
when you compile it sep I&D. (It screws you even if you don't, but it is less
obvious).  NICE PROGRAM, though.

		-Dan Klein, Mellon Institute, Pittsburgh



More information about the Comp.sources.unix mailing list