Lines Matching +defs:pathname +defs:name
16 * 3. Neither the name of the University nor the names of its contributors
45 * Get name sections from manual pages.
84 static const char *names[] = { "name", "namn", 0 };
121 getfrom(char *pathname)
123 char *name;
127 if (freopen(pathname, "r", stdin) == 0) {
128 warn("Cannot open `%s'", pathname);
131 if ((name = strrchr(pathname, '/')) != NULL)
132 name++;
134 name = pathname;
138 (void)printf("%-60s\tUNKNOWN\n", pathname);
141 pathname);
150 oldman(pathname, name);
154 newman(pathname, name);
161 oldman(char *pathname, char *name)
170 (void)printf("%-60s\tOLD\n", pathname);
176 warnx("missing .SH section in `%s'", pathname);
193 warnx("missing argument to .SH in `%s'", pathname);
200 warnx("first .SH section is not \"NAME\" in `%s'", pathname);
206 doname(name);
222 split(linebuf, name);
233 if ((ext = strrchr(name, '.')) != NULL) {
274 split(linebuf, name);
281 newman(char *pathname, char *name)
289 (void)printf("%-60s\tNEW\n", pathname);
295 warnx("missing .Sh section in `%s'", pathname);
307 warnx("missing argument to .Sh in `%s'", pathname);
314 warnx("first .SH section is not \"NAME\" in `%s'", pathname);
319 doname(name);
337 if ((ext = strrchr(name, '.')) != NULL) {
392 split(linebuf, name);
463 doname(char *name)
465 char *dp = name, *ep;
486 split(char *line, char *name)
513 dorefname(name);
520 dorefname(char *name)
522 char *dp = name, *ep;