Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
164552cf0c | |||
![]() |
c34c1b1997 | ||
![]() |
89dae11aa1 |
2 changed files with 38 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -14,7 +14,7 @@ LIBRARIES = libtf libft
|
|||
# .a files to include
|
||||
LIBRARIES_FILES = libtf/libtf.a libft/libft.a
|
||||
# to use with the flags -L and -l
|
||||
LIBRARIES_LINK =
|
||||
LIBRARIES_LINK = readline
|
||||
# to use with the flag -l
|
||||
LINK =
|
||||
# flags to add to the compiler
|
||||
|
|
37
README.md
Normal file
37
README.md
Normal file
|
@ -0,0 +1,37 @@
|
|||
# minishell
|
||||
|
||||
the result of a group project at 42 school, made by me and [BgNounours](https://github.com/BgNounours).
|
||||
|
||||
it's a very basic shell like sh or bash. it is not POSIX.
|
||||
|
||||
it supports:
|
||||
- `>`, `<`, `>>`, `<<` redirections
|
||||
- `|` pipes
|
||||
- environment variables and $?
|
||||
- some built-in commands
|
||||
|
||||
## compile and run
|
||||
|
||||
this project is for linux (it may also work on macOS i have no idea).
|
||||
|
||||
1. in your terminal, run `make -v`.
|
||||
if you have a `command not found` error or equivalent, you will need to install `make`. on ubuntu / debian, run:
|
||||
```sh
|
||||
$ sudo apt install make
|
||||
```
|
||||
|
||||
2. clone the repository and cd inside it:
|
||||
```sh
|
||||
$ git clone https://gitea.zaclys.com/frzysk/42_minishell
|
||||
$ cd 42_minishell
|
||||
```
|
||||
|
||||
3. build:
|
||||
```sh
|
||||
$ make
|
||||
```
|
||||
|
||||
4. run:
|
||||
```
|
||||
$ ./minishell
|
||||
```
|
Loading…
Add table
Reference in a new issue