From 624b61532db2a4471f9ba1c000bd3f43c6f10f29 Mon Sep 17 00:00:00 2001 From: Isaac Beverly Date: Mon, 17 Nov 2025 15:25:53 -0600 Subject: [PATCH 1/2] Add stub binary for POSIX utility: ex --- bin/ex/ex.c | 14 ++++++++++++++ bin/ex/makefile | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 bin/ex/ex.c create mode 100644 bin/ex/makefile diff --git a/bin/ex/ex.c b/bin/ex/ex.c new file mode 100644 index 0000000..7bf8aa2 --- /dev/null +++ b/bin/ex/ex.c @@ -0,0 +1,14 @@ +#include +#include +#include +#include +#include +#include +#include + +int main(int argc, char **argv) +{ + write(STDERR_FILENO, "usage: ex\n", 10); + return 0; +} + diff --git a/bin/ex/makefile b/bin/ex/makefile new file mode 100644 index 0000000..85e5af6 --- /dev/null +++ b/bin/ex/makefile @@ -0,0 +1,4 @@ +BIN := ex +SRC := ex.c + +include ../../config From a44ea419dabf68b570736ba3813b8d01ad075aa8 Mon Sep 17 00:00:00 2001 From: Isaac Beverly Date: Mon, 17 Nov 2025 15:29:43 -0600 Subject: [PATCH 2/2] fix(ex): Remove extra headers --- bin/ex/ex.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bin/ex/ex.c b/bin/ex/ex.c index 7bf8aa2..f631087 100644 --- a/bin/ex/ex.c +++ b/bin/ex/ex.c @@ -1,9 +1,3 @@ -#include -#include -#include -#include -#include -#include #include int main(int argc, char **argv)