From: Trent Huber Date: Tue, 11 Nov 2025 22:27:45 +0000 (-0500) Subject: Tweak README.md's X-Git-Url: https://trenthuber.com/code?a=commitdiff_plain;h=129f6dbbd1a89580657d4caa75fea8fffb46a1d2;p=thus.git Tweak README.md's --- diff --git a/README.md b/README.md index 6fccdbc..4e6af18 100644 --- 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 diff --git a/src/builtins/README.md b/src/builtins/README.md index 0d77dbd..575227a 100644 --- a/src/builtins/README.md +++ b/src/builtins/README.md @@ -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.