From 3bccc7274aa5db9b4457dfd4cb8ae31b386a062f Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Sat, 17 May 2025 09:29:50 +0200 Subject: update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 5c4801b..cce6d81 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ ## Bash string manipulation cheatsheet [https://gist.github.com/magnetikonline/90d6fe30fc247ef110a1](https://gist.github.com/magnetikonline/90d6fe30fc247ef110a1) - | Assignment | | +| --- | --- | | Assign `value` to `variable` if `variable` is not already set, `value` is returned.

Combine with a `:` no-op to discard/ignore return `value`. | `${variable="value"}`
`: ${variable="value"}` | | Removal | | | Delete shortest match of `needle` from front of `haystack`. | `${haystack#needle}` | -- cgit v1.2.3