the file command now calls newfileinfo() to print information
authorKurt A. Schoens <kas@ucbvax.Berkeley.EDU>
Wed, 14 Jan 1981 15:33:32 +0000 (07:33 -0800)
committerKurt A. Schoens <kas@ucbvax.Berkeley.EDU>
Wed, 14 Jan 1981 15:33:32 +0000 (07:33 -0800)
about the current message file

SCCS-vsn: usr.bin/mail/cmd3.c 1.7

usr/src/usr.bin/mail/cmd3.c

index a536beb..281f3c3 100644 (file)
@@ -9,7 +9,7 @@
  * Still more user commands.
  */
 
  * Still more user commands.
  */
 
-static char *SccsId = "@(#)cmd3.c      1.6 %G%";
+static char *SccsId = "@(#)cmd3.c      1.7 %G%";
 
 /*
  * Process a shell escape by saving signals, ignoring signals,
 
 /*
  * Process a shell escape by saving signals, ignoring signals,
@@ -482,12 +482,7 @@ file(argv)
        char fname[BUFSIZ];
 
        if (argv[0] == NOSTR) {
        char fname[BUFSIZ];
 
        if (argv[0] == NOSTR) {
-               if (edit)
-                       printf("Reading \"%s\"", editfile);
-               else
-                       printf("Reading %s's mail",
-                           rindex(mailname, '/') + 1);
-               printf("; %d message(s)\n", msgCount);
+               newfileinfo();
                return(0);
        }
 
                return(0);
        }