From 77054fa24b6edabc40546638944c92d49236545d Mon Sep 17 00:00:00 2001 From: Trent Huber Date: Wed, 27 Aug 2025 16:19:09 -0400 Subject: [PATCH] Correct line number for builtin README.md --- src/builtins/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/README.md b/src/builtins/README.md index 3c1954b..cbdbf37 100644 --- a/src/builtins/README.md +++ b/src/builtins/README.md @@ -17,6 +17,6 @@ BUILTIN(foo) { The `BUILTIN()` macro is defined in [`builtin.h`](builtin.h#L1) and provides an interface similar to that of `main()`, passing the arguments from the user as an array of C strings (`argv`) along with a count (`argc`). This allows you to write code for built-ins exactly as you would write them in a regular C program. -Errors should be reported to the user using the `note()` function defined in [`utils.c`](../utils.c#L20). +Errors should be reported to the user using the `note()` function defined in [`utils.c`](../utils.c#L17). Once the source is done being written, simply rebuild the shell and it will automatically incorporate the new built-in. -- 2.51.0