|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 1014 (0x3f6) Types: TextFile Names: »show.c«
└─⟦87ddcff64⟧ Bits:30001253 CPHDIST85 Tape, 1985 Autumn Conference Copenhagen └─⟦this⟧ »cph85dist/rman/daemon/show.c«
#ifndef lint static char RCSid[] = "$Header: show.c,v 1.3 85/08/27 15:17:21 broome Exp $"; #endif /* * $Log: show.c,v $ * Revision 1.3 85/08/27 15:17:21 broome * Last cleanup before release. * * Revision 1.2 85/07/24 10:39:09 broome * * Revision 1.1 85/07/06 16:56:28 broome * Initial revision */ #include "defs.h" #include <sys/file.h> /* * Find all occurrences of pages for the given name. */ /*ARGSUSED*/ show (argc, argv) int argc; char *argv[]; { DIR *dir; int s; char buf[256]; while (*++argv) { printf ("101-Searching for %s.\r\n", *argv); for (dir = dirs; dir; dir = dir->next) for (s = 0; dir->suff[s]; s++) { sprintf (buf, "%s/%s%s", dir->man, *argv, dir->suff[s]); if (access (buf, R_OK) == 0) { printf ("100-%s\r\n", buf); (void) fflush (stdout); } } printf ("102 That's all for \"%s\"\r\n", *argv); } }