writelscmd(buf, sizeof(buf), "-d --", argp);
if ((f = popen_in_dir(cwd, buf, "r")) != NULL) {
while (fgets(shell, sizeof (shell), f) != NULL) {
writelscmd(buf, sizeof(buf), "-d --", argp);
if ((f = popen_in_dir(cwd, buf, "r")) != NULL) {
while (fgets(shell, sizeof (shell), f) != NULL) {