]> Trent Huber's Code - thus.git/commitdiff
Tweak README.md's
authorTrent Huber <trentmhuber@gmail.com>
Tue, 11 Nov 2025 22:27:45 +0000 (17:27 -0500)
committerTrent Huber <trentmhuber@gmail.com>
Tue, 11 Nov 2025 22:27:45 +0000 (17:27 -0500)
README.md
src/builtins/README.md

index 6fccdbce6a78676c662ed5bc1f2a783550a8867e..4e6af185788312c496bf84cd3c3b484cd053084f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -52,9 +52,9 @@ where it takes a subtly different approach.
 Like most other shells, variables, tildes, and escape sequences will be expanded
 inside of double quotes, but not single quotes. *Unlike* other shells however,
 quotes do not concatenate with other arguments that are not separated from the
-quote by whitespace. For example, the command `echo "abc"def` would print
-`abc def` whereas other shells would combine them into a single argument and
-print `abcdef`.
+quote by whitespace. For example, the command `echo "foo"bar` would print
+`foo bar` whereas other shells would combine them into a single argument and
+print `foobar`.
 
 ### Variables and aliases
 
index 0d77dbd7679da85cc050b0f67a5b09ef2486f398..575227adb58edbc8603116bbdf62f82c57b5b309 100644 (file)
@@ -26,12 +26,12 @@ and `argc` parameters found in the prototypical C `main()` function. Arguments
 here are also passed as a NULL-terminated array of C strings.
 
 For a consistent user interface, usage messages can be shown with the `usage()`
-function, defined in [`builtin.c`](builtin.c), and errors can be explained with
-the `note()` function defined in [`utils.c`](../utils.c). Since built-ins are
-usually run directly by the shell, calls to functions like `exit()` could cause
-the shell itself to terminate, a behavior that isn't typically intended. Errors
-should instead be reported by returning an error code from the built-in function
-for the shell to handle.
+function, defined in [`src/builtins/builtin.c`](builtin.c), and errors can be
+explained with the `note()` function defined in [`src/utils.c`](../utils.c).
+Since built-ins are usually run directly by the shell, calls to functions like
+`exit()` could cause the shell itself to terminate, a behavior that isn't
+typically intended. Errors should instead be reported by returning an error code
+from the built-in function for the shell to handle.
 
 Once finished, simply rebuild the shell and it will automatically incorporate
 the new built-in.