[2935] in Athena Bugs
(RT/PC) Version 6.3B: script(1)
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Sun Aug 20 16:07:06 1989
Date: Sun, 20 Aug 89 16:06:50 -0400
From: Jonathan I. Kamens <jik@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System type, version: (RT/PC) Version 6.3B
System name: achates
What's wrong:
(This actually applies to all architectures, all versions.)
In the script file created by the script command, the first line
looks like this:
Script started on Sun Aug 20 15:35:18 1989
The last line looks like this:
script done on Sun Aug 20 15:36:20 1989
What should have happened:
The capitalization of the first word should be consistent. Both
should be upper case. The following patch fixes the problem:
*** /tmp/script.c.orig Sun Aug 20 16:00:50 1989
--- /tmp/script.c Sun Aug 20 16:03:06 1989
***************
*** 189,195 ****
if (subchild) {
tvec = time((time_t *)0);
! fprintf(fscript,"\nscript done on %s", ctime(&tvec));
(void) fclose(fscript);
(void) close(master);
} else {
--- 189,195 ----
if (subchild) {
tvec = time((time_t *)0);
! fprintf(fscript,"\nScript done on %s", ctime(&tvec));
(void) fclose(fscript);
(void) close(master);
} else {