aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2025-05-17 09:29:50 +0200
committerPhilip Wittamore <philip@wittamore.com>2025-05-17 09:29:50 +0200
commit3bccc7274aa5db9b4457dfd4cb8ae31b386a062f (patch)
treedfc3183eb4451230f1298fd51d0b2371399689e5
parent13be9d5f2f9b806b9eeae3f59d5d50c476f0bbf8 (diff)
downloadbashlib-3bccc7274aa5db9b4457dfd4cb8ae31b386a062f.tar.gz
bashlib-3bccc7274aa5db9b4457dfd4cb8ae31b386a062f.tar.bz2
bashlib-3bccc7274aa5db9b4457dfd4cb8ae31b386a062f.zip
update
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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. <br> <br>Combine with a `:` no-op to discard/ignore return `value`. | `${variable="value"}` <br>`: ${variable="value"}` |
| Removal | |
| Delete shortest match of `needle` from front of `haystack`. | `${haystack#needle}` |