Compare commits
No commits in common. "main" and "TRY1" have entirely different histories.
2 changed files with 1 additions and 38 deletions
2
Makefile
2
Makefile
|
@ -14,7 +14,7 @@ LIBRARIES = libtf libft
|
||||||
# .a files to include
|
# .a files to include
|
||||||
LIBRARIES_FILES = libtf/libtf.a libft/libft.a
|
LIBRARIES_FILES = libtf/libtf.a libft/libft.a
|
||||||
# to use with the flags -L and -l
|
# to use with the flags -L and -l
|
||||||
LIBRARIES_LINK = readline
|
LIBRARIES_LINK =
|
||||||
# to use with the flag -l
|
# to use with the flag -l
|
||||||
LINK =
|
LINK =
|
||||||
# flags to add to the compiler
|
# flags to add to the compiler
|
||||||
|
|
37
README.md
37
README.md
|
@ -1,37 +0,0 @@
|
||||||
# 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