3 ** A "micro-shell" to test editline library.
4 ** If given any arguments, commands aren't executed.
6 #if defined(HAVE_CONFIG_H)
18 main(int ac
, char **av
)
24 while ((p
= readline("testit> ")) != NULL
) {
25 (void)printf("\t\t\t|%s|\n", p
);
27 if (strncmp(p
, "cd ", 3) == 0) {
30 } else if (system(p
) != 0) {