2026-01-06 17:52:48 +01:00
|
|
|
# 42sh - A POSIX shell with a bad name
|
2026-01-06 16:34:08 +01:00
|
|
|
|
2026-01-06 17:52:48 +01:00
|
|
|
42sh is a shcool project aiming to implement a POSIX compliant shell in C.
|
2026-01-06 16:34:08 +01:00
|
|
|
|
|
|
|
|
## Getting started
|
|
|
|
|
|
2026-01-06 17:52:48 +01:00
|
|
|
TODO
|
2026-01-06 16:34:08 +01:00
|
|
|
|
2026-01-06 17:52:48 +01:00
|
|
|
### Build
|
2026-01-09 14:27:27 +01:00
|
|
|
run this command:
|
2026-01-17 19:11:55 +01:00
|
|
|
`autoreconf --force --verbose --install`
|
2026-01-09 14:27:27 +01:00
|
|
|
|
2026-01-17 19:11:55 +01:00
|
|
|
### Test
|
2026-01-09 14:27:27 +01:00
|
|
|
run this command:
|
2026-01-17 19:11:55 +01:00
|
|
|
`./configure CFLAGS='-std=c99 -Werror -Wall -Wextra -Wvla'`
|
|
|
|
|
then:
|
|
|
|
|
`make`
|
2026-01-17 17:53:37 +01:00
|
|
|
|
2026-01-17 19:11:55 +01:00
|
|
|
#### asan
|
2026-01-17 17:53:37 +01:00
|
|
|
run this command:
|
2026-01-17 19:11:55 +01:00
|
|
|
`./configure CFLAGS='-std=c99 -Werror -Wall -Wextra -Wvla -g -fsanitize=address'`
|
|
|
|
|
|
|
|
|
|
then:
|
|
|
|
|
`make check`
|
2026-01-06 16:34:08 +01:00
|
|
|
|
2026-01-06 17:52:48 +01:00
|
|
|
## Authors
|
2026-01-06 16:34:08 +01:00
|
|
|
|
2026-01-06 17:52:48 +01:00
|
|
|
- Matteo Flebus
|
|
|
|
|
- Jean Hérail
|
|
|
|
|
- William Valenduc
|
|
|
|
|
- Guillem George
|
2026-01-06 16:34:08 +01:00
|
|
|
|
|
|
|
|
## Project status
|
2026-01-06 17:52:48 +01:00
|
|
|
|
|
|
|
|
WIP
|
2026-01-07 17:38:54 +01:00
|
|
|
|
|
|
|
|
## TODO
|
|
|
|
|
|
|
|
|
|
# Autotools
|
|
|
|
|
implement functions in all .c files to see if everything compiles.
|