projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Must distinguish between "ambiguous" and "unknown" commands.
[unix-history]
/
usr
/
src
/
usr.bin
/
vgrind
/
vfontedpr.c
diff --git
a/usr/src/usr.bin/vgrind/vfontedpr.c
b/usr/src/usr.bin/vgrind/vfontedpr.c
index
39aa685
..
9a4f75e
100644
(file)
--- a/
usr/src/usr.bin/vgrind/vfontedpr.c
+++ b/
usr/src/usr.bin/vgrind/vfontedpr.c
@@
-5,7
+5,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)vfontedpr.c 5.
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)vfontedpr.c 5.
2
(Berkeley) %G%";
#endif not lint
#include <ctype.h>
#endif not lint
#include <ctype.h>
@@
-264,11
+264,6
@@
main(argc, argv)
ps("'-F\n");
if (!filter) {
printf(".ds =F %s\n", fname);
ps("'-F\n");
if (!filter) {
printf(".ds =F %s\n", fname);
- fstat(fileno(stdin), &stbuf);
- cp = ctime(&stbuf.st_mtime);
- cp[16] = '\0';
- cp[24] = '\0';
- printf(".ds =M %s %s\n", cp+4, cp+20);
ps("'wh 0 vH\n");
ps("'wh -1i vF\n");
}
ps("'wh 0 vH\n");
ps("'wh -1i vF\n");
}
@@
-277,6
+272,13
@@
main(argc, argv)
printf(".()\n");
printf(".bp\n");
}
printf(".()\n");
printf(".bp\n");
}
+ if (!filter) {
+ fstat(fileno(stdin), &stbuf);
+ cp = ctime(&stbuf.st_mtime);
+ cp[16] = '\0';
+ cp[24] = '\0';
+ printf(".ds =M %s %s\n", cp+4, cp+20);
+ }
/*
* MAIN LOOP!!!
/*
* MAIN LOOP!!!