Skip to content

Latest commit

 

History

History
43 lines (22 loc) · 650 Bytes

README.md

File metadata and controls

43 lines (22 loc) · 650 Bytes

shell

A simple shell program.

Step 1

The shell should be able to read lines and echo them back in a loop.

Step 2

The shell should tokenize input on spaces.

Step 3

If the first token is "exit", we should exit the shell no matter what.

Step 4

The shell should fork and exec commands other than "exit".

Step 5

Break out string functions to their own file.

Step 6

Make the string functions better.

Step 7

Add string function to strip leading and trailing whitespace.

Step 8

Allow for arbitrary line lengths.

Step 9

Allow for an arbitrary number of tokens on a line.

Step 10

Create a better tokenizer.