From: Trent Huber Date: Wed, 27 Aug 2025 20:19:09 +0000 (-0400) Subject: Correct line number for builtin README.md X-Git-Url: https://trenthuber.com/code?a=commitdiff_plain;h=77054fa24b6edabc40546638944c92d49236545d;p=thus.git Correct line number for builtin README.md --- 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.