version 1.73, 2010/03/26 16:56:00 |
version 1.74, 2010/04/21 11:29:59 |
|
|
break; |
break; |
|
|
case 'g': /* grep command name */ |
case 'g': /* grep command name */ |
ps.command = strdup(optarg); |
free(ps.command); |
|
if((ps.command = strdup(optarg)) == NULL); |
|
err(1, NULL); |
break; |
break; |
|
|
default: |
default: |
|
|
tempbuf[1] == '\0') |
tempbuf[1] == '\0') |
ps.command = NULL; |
ps.command = NULL; |
else |
else |
ps.command = strdup(tempbuf); |
if((ps.command = strdup(tempbuf)) == |
|
NULL); |
|
err(1, NULL); |
putr(); |
putr(); |
} else |
} else |
clear_message(); |
clear_message(); |