At last...

my connection is back!
A week without a proper pipe left me in a big mess.
My shell is coming along beautifully.

For those interested, the following lines will do a good part of the shell's backend.

Wildcard, shell variables, the works! wordexp will do all that for you!


wordexp(input, &result, 0);
strcpy(p.cmd, result.we_wordv[0]); i=0;
while(result.we_wordv[i]){
strcpy(args[i], result.we_wordv[i]); i++;
}


Easy as pie!