Add smallsh readme
This commit is contained in:
parent
476e09b74d
commit
f6a18f46da
1 changed files with 42 additions and 0 deletions
42
smallsh/readme.md
Normal file
42
smallsh/readme.md
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
|
||||||
|
# smallsh
|
||||||
|
|
||||||
|
This is an interactive shell called smallsh! It should be similar
|
||||||
|
to other shells you have used, but fallowing a minimalist approach:
|
||||||
|
aka a ton of features are missing. You got comfortable with pipes and
|
||||||
|
other fancy time-saving features; but for smallsh, we believe those
|
||||||
|
take away from the pure nature of typing into your computer and that
|
||||||
|
we should go back to a world without.
|
||||||
|
|
||||||
|
|
||||||
|
## Compiling
|
||||||
|
|
||||||
|
You can compile this program by using the make command or by hand.
|
||||||
|
|
||||||
|
Simply type:
|
||||||
|
|
||||||
|
```
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
or, to manually compile, type:
|
||||||
|
|
||||||
|
```
|
||||||
|
gcc -std=c99 main.c -o movies_by_year
|
||||||
|
```
|
||||||
|
|
||||||
|
## Running
|
||||||
|
|
||||||
|
To run, type:
|
||||||
|
|
||||||
|
```
|
||||||
|
make run
|
||||||
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
```
|
||||||
|
./smallsh
|
||||||
|
```
|
||||||
|
|
||||||
|
to run manually
|
Loading…
Reference in a new issue