]> Trent Huber's Code - thus.git/commitdiff
Remove line numbers in builtin README.md
authorTrent Huber <trentmhuber@gmail.com>
Wed, 27 Aug 2025 20:20:39 +0000 (16:20 -0400)
committerTrent Huber <trentmhuber@gmail.com>
Wed, 27 Aug 2025 20:20:39 +0000 (16:20 -0400)
src/builtins/README.md

index cbdbf37c85eaf90319acb9b04a23ca2618cd15c6..27595ad6ff77b0e0fa5be7cf3e1799f9d7b7c2cc 100644 (file)
@@ -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.