A POSIX compliant shell
Find a file
2026-01-29 12:19:21 +01:00
src feat(lexer): implementing assignements 2026-01-29 12:19:21 +01:00
tests feat(parser): redirections 2026-01-27 19:56:33 +01:00
.clang-format feat: README, gitgnore and basic project structure 2026-01-06 17:53:41 +01:00
.gitignore Fixed the length of the execution function 2026-01-24 17:35:06 +01:00
build_flemme.sh feat: flemme scripts for building and testing 2026-01-26 18:35:08 +01:00
check_flemme.sh fix(execution): reimplemented the builtins 2026-01-27 21:10:24 +01:00
configure.ac fix(autotools): missing Makefile in configure.ac 2026-01-12 17:29:00 +01:00
Makefile.am feat(autotools): basic usage 2026-01-07 17:38:54 +01:00
README.md feat: flemme scripts for building and testing 2026-01-26 18:35:08 +01:00

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.