|
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 - download
Length: 436 (0x1b4) Types: TextFile Names: »args.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─⟦this⟧ »EUUGD11/euug-87hel/sec8/uutty/args.c«
#include "uutty.h" /* ** Process the command-line arguments. */ args(ac,av) char **av; { int a; for (a=1; a<ac; a++) { D3("arg %d=\"%s\"",a,av[a]); switch (av[a][0]) { case '-': case '+': D6("opt %d=\"%s\"",a,av[a]); option(av[a]); continue; default: switch(files++) { case 0: /* Name of serial port */ device = av[a]; break; default: E("Too many args; \"%s\" ignored.",av[a]); } } } }