A POSIX compliant shell
Find a file
2026-01-20 22:16:46 +01:00
src fix: made all includes relatives for the wellbeing of all LSPs seeing this project 2026-01-20 22:16:46 +01:00
tests feat(expansion): add special var expansion tests $$ and $? 2026-01-19 18:20:26 +00:00
.clang-format feat: README, gitgnore and basic project structure 2026-01-06 17:53:41 +01:00
.gitignore feat(gitignore): debug and testsuite 2026-01-17 23:55:59 +00: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 fix: now compiles and works for simple commands + clang format 2026-01-17 23:55:59 +00: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'

then: make check

Authors

  • Matteo Flebus
  • Jean Hérail
  • William Valenduc
  • Guillem George

Project status

WIP

TODO

Autotools

implement functions in all .c files to see if everything compiles.