Skip to content

Instantly share code, notes, and snippets.

@cmpcb
cmpcb / shell.c
Created December 7, 2013 14:53 — forked from parse/shell.c
/* Compile with: g++ -Wall –Werror -o shell shell.c */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>