The
.BR \-nobcc
option suppresses the listing of hidden recipients.
-If both kinds of recipients are requested, they are separated by a
-line similar to ``\0==BCC==''.
+If the printing of both kinds of recipients, visible and hidden,
+is requested and hidden recipients are present,
+they are separated by a line similar to ``\0==BCC==''.
The actual separator may change, but the regular expression
/^[\0\\t].*BCC/ should always match.
+No separator is printed if only one kind of recipients is requested
+for printing, or if both are requested but no hidden recipients are
+present.
.PP
With
.BR \-alias ,
free(cmd);
naddrs += n;
- if (toccsw && bccsw) {
- puts(separator);
- }
-
cmd = add("ali -list", NULL);
if ((n=printbcc()) && alisw) {
if (!(in = popen(cmd, "r"))) {
continue;
}
if (mp->m_type & HBCC) {
+ if (!naddrs && toccsw) {
+ puts(separator);
+ }
naddrs++;
printone(mp);
}