diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-05-17 09:29:50 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-05-17 09:29:50 +0200 |
commit | 3bccc7274aa5db9b4457dfd4cb8ae31b386a062f (patch) | |
tree | dfc3183eb4451230f1298fd51d0b2371399689e5 /README.md | |
parent | 13be9d5f2f9b806b9eeae3f59d5d50c476f0bbf8 (diff) | |
download | bashlib-3bccc7274aa5db9b4457dfd4cb8ae31b386a062f.tar.gz bashlib-3bccc7274aa5db9b4457dfd4cb8ae31b386a062f.tar.bz2 bashlib-3bccc7274aa5db9b4457dfd4cb8ae31b386a062f.zip |
update
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}` | |