-
- if (n == -1)
- advise(NULL, "usage is alist [-ln].");
-
- else
- snprintf(buf, sizeof buf,
- "anno -list -comp '%s' "
- "%s%s '%s'",
- attach_hdr,
- n ? "-number all" : "",
- l ? "-text IGNORE " : "",
- drft);
- if (system(buf) != 0) {
- advise(NULL, "Could not list attachment headers.");
- }
-