From 27628d43d3b275eb726e7f0aaf2e9492224a945c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?On=C3=A8?= <43485962+c-git@users.noreply.github.com> Date: Thu, 19 Feb 2026 15:35:09 -0500 Subject: [PATCH 1/4] Fix typo in string manipulation section - Complete word `prepend` from `pre` - Add missing comma --- book/working_with_strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/working_with_strings.md b/book/working_with_strings.md index 22101f11aae..f950f41f61f 100644 --- a/book/working_with_strings.md +++ b/book/working_with_strings.md @@ -180,7 +180,7 @@ You can also use the [`run-external`](/commands/docs/run-external.md) command fo ## Appending and Prepending to strings -There are various ways to pre, or append strings. If you want to add something to the beginning of each string closures are a good option: +There are various ways to prepend, or append strings. If you want to add something to the beginning of each string, closures are a good option: ```nu ['foo', 'bar'] | each {|s| '~/' ++ $s} # ~/foo, ~/bar From 8c318e69d9c24f35e1ba92514c0f40c367b9986e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?On=C3=A8?= <43485962+c-git@users.noreply.github.com> Date: Thu, 19 Feb 2026 15:43:38 -0500 Subject: [PATCH 2/4] Fix grammatical error in working_with_strings.md Replace `of` with `at` to make sentence read correctly. --- book/working_with_strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/working_with_strings.md b/book/working_with_strings.md index f950f41f61f..ac24c63a021 100644 --- a/book/working_with_strings.md +++ b/book/working_with_strings.md @@ -194,7 +194,7 @@ You can also use a regex to replace the beginning or end of a string: ['foo', 'bar'] | str replace -r '$' '~/'# foo~/, bar~/ ``` -If you want to get one string out of the end then `str join` is your friend: +If you want to get one string out at the end then `str join` is your friend: ```nu "hello" | append "world!" | str join " " # hello world! From 7921f6682c00df9996a9a7c0fe3d9263ca645239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?On=C3=A8?= <43485962+c-git@users.noreply.github.com> Date: Thu, 19 Feb 2026 16:22:24 -0500 Subject: [PATCH 3/4] docs: correct part of speeh --- book/working_with_tables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/working_with_tables.md b/book/working_with_tables.md index a6bb0be5b98..6f3c919a28f 100644 --- a/book/working_with_tables.md +++ b/book/working_with_tables.md @@ -195,7 +195,7 @@ $first | append $second # => ───┴───┴─── ``` -If the column names are not identical then additionally columns and values will be created as necessary: +If the column names are not identical then additional columns and values will be created as necessary: ```nu let first = [[a b]; [1 2]] From 4ba6ce72e901123d67d9e22899febf094b1da81f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?On=C3=A8?= <43485962+c-git@users.noreply.github.com> Date: Thu, 19 Feb 2026 18:07:51 -0500 Subject: [PATCH 4/4] Reword for clarity Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com> --- book/working_with_strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/working_with_strings.md b/book/working_with_strings.md index ac24c63a021..9edc2876aae 100644 --- a/book/working_with_strings.md +++ b/book/working_with_strings.md @@ -194,7 +194,7 @@ You can also use a regex to replace the beginning or end of a string: ['foo', 'bar'] | str replace -r '$' '~/'# foo~/, bar~/ ``` -If you want to get one string out at the end then `str join` is your friend: +If you want to combine a list into a string, then `str join` is your friend: ```nu "hello" | append "world!" | str join " " # hello world!