Now takes -N flag to suppress initial header printing
authorKurt A. Schoens <kas@ucbvax.Berkeley.EDU>
Sat, 7 Feb 1981 01:36:53 +0000 (17:36 -0800)
committerKurt A. Schoens <kas@ucbvax.Berkeley.EDU>
Sat, 7 Feb 1981 01:36:53 +0000 (17:36 -0800)
SCCS-vsn: usr.bin/mail/lex.c 1.14

usr/src/usr.bin/mail/lex.c

index ad54618..f76c673 100644 (file)
@@ -8,7 +8,7 @@
  * Lexical processing of commands.
  */
 
  * Lexical processing of commands.
  */
 
-static char *SccsId = "@(#)lex.c       1.13 %G%";
+static char *SccsId = "@(#)lex.c       1.14 %G%";
 
 /*
  * Set up editing on the given file name.
 
 /*
  * Set up editing on the given file name.
@@ -504,7 +504,7 @@ announce(pr)
        if (pr && value("quiet") == NOSTR)
                printf(greeting, version);
        dot = &message[mdot - 1];
        if (pr && value("quiet") == NOSTR)
                printf(greeting, version);
        dot = &message[mdot - 1];
-       if (msgCount > 0)
+       if (msgCount > 0 && !noheader)
                headers(vec);
 }
 
                headers(vec);
 }