42 lines
800 B
Markdown
42 lines
800 B
Markdown
# 42sh - A POSIX shell with a bad name
|
|
|
|
42sh is a shcool project aiming to implement a POSIX compliant shell in C.
|
|
|
|
## Getting started
|
|
|
|
TODO
|
|
|
|
### Build
|
|
run this command:
|
|
`autoreconf --force --verbose --install`
|
|
|
|
### Test
|
|
run this command:
|
|
`./configure CFLAGS='-std=c99 -Werror -Wall -Wextra -Wvla'`
|
|
then:
|
|
`make`
|
|
|
|
#### asan
|
|
run this command:
|
|
`./configure CFLAGS='-std=c99 -Werror -Wall -Wextra -Wvla -g -fsanitize=address'`
|
|
or for MacOS (Jean Here):
|
|
`./configure CFLAGS='-std=c99 -Werror -Wall -Wextra -Wvla -I/opt/homebrew/include' LDFLAGS='-L/opt/homebrew/lib'`
|
|
|
|
then:
|
|
`make check`
|
|
|
|
## Authors
|
|
|
|
- Matteo Flebus
|
|
- Jean Herail
|
|
- William Valenduc
|
|
- Guillem George
|
|
|
|
## Project status
|
|
|
|
WIP
|
|
|
|
## TODO
|
|
|
|
# Autotools
|
|
implement functions in all .c files to see if everything compiles.
|