From a86df01f375c84c6c96ec4b490a026dad6a10e7e Mon Sep 17 00:00:00 2001 From: Trent Huber Date: Wed, 27 Aug 2025 16:20:39 -0400 Subject: [PATCH] Remove line numbers in builtin README.md --- src/builtins/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/builtins/README.md b/src/builtins/README.md index cbdbf37..27595ad 100644 --- a/src/builtins/README.md +++ b/src/builtins/README.md @@ -15,8 +15,8 @@ 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. +The `BUILTIN()` macro is defined in [`builtin.h`](builtin.h) 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#L17). +Errors should be reported to the user using the `note()` function defined in [`utils.c`](../utils.c). Once the source is done being written, simply rebuild the shell and it will automatically incorporate the new built-in. -- 2.51.0