corrections to enhanced mods of correct

John A Biles jab at ritcv.UUCP
Tue Nov 22 06:11:51 AEST 1983


Let's try that one again...

Here are some more fixes for the ubiquitous correct program.  These are
corrections to the Olson of Fortune enhanced version of the Estes original,
not to the Rhodes of Havad Schol mods to the Fortunate Olson enhansion of
the original Estes.  Whew!

			- Al Biles, RIT
			{seismo, allegra}!rochester!ritcv!jab

110,117c110,113
< 	if (psLdfile != NULL) {
<		InitasLocdict();
< 		bLocdictflag = 1;
< 	}
< 	else
< 		bLocdictflag = 0;
<
< 	bCorrflag = 0;
---
> 	if (psLdfile != NULL)
>		InitasLocdict();
>
> 	bCorrflag = bLocdictflag = 0;
195,198c191,192
< 			if (bLocdictflag)
< 				AddtoasLocdict(wordin);
< 			else 
< 				putchar('\n');
---
> 			AddtoasLocdict(wordin);
> 			bLocdictflag++;
256c250
< 		printf("Local Dictionary updated? ");
---
> 		printf("Local Dictionary updated?");



More information about the Comp.sources.unix mailing list