version 1.93, 2001/02/08 19:30:52 |
version 1.94, 2001/02/10 01:46:28 |
|
|
/* Parse command-line arguments. */ |
/* Parse command-line arguments. */ |
host = NULL; |
host = NULL; |
|
|
/* If program name is not one of the standard names, use it as host name. */ |
|
cp = __progname; |
|
if (strcmp(cp, "rsh") && strcmp(cp, "ssh") && strcmp(cp, "rlogin") && |
|
strcmp(cp, "slogin") && strcmp(cp, "remsh")) |
|
host = cp; |
|
|
|
for (optind = 1; optind < ac; optind++) { |
for (optind = 1; optind < ac; optind++) { |
if (av[optind][0] != '-') { |
if (av[optind][0] != '-') { |
if (host) |
if (host) |