-
-/*
- * annosbr.c -- prepend annotation to messages
+/* annosbr.c -- prepend annotation to messages
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
/*
* Produce a listing of all header fields (annotations) whose field name matches
- * comp. Number the listing if number is set. Treate the field bodies as path
+ * comp. Number the listing if number is set. Treat the field bodies as path
* names and just output the last component unless text is non-NULL. We don't
* care what text is set to.
*/
if (text == NULL && (sp = strrchr(cp, '/')) != (char *)0)
cp = sp + 1;
- (void)printf("%s\n", cp);
+ puts(cp);
}
} while (*field != '\0' && *field != '-');
free(field);
(void)fclose(fp);
-
- return;
}
/*
annopreserve(int preserve)
{
preserve_actime_and_modtime = preserve;
- return;
}
static int