Merge pull request #144 from myInstagramAlternative/patch-1

Put the arguments into an array and then append to the array.
This commit is contained in:
Randy8080 authored and GitHub committed 2022-01-24 10:04:26 +08:00
commit f5b6423e85
1 file changed
+12
+12
View File
@@ -84,6 +84,18 @@ See: [Special parameters](http://wiki.bash-hackers.org/syntax/shellvars#special_
### Optional arguments
```bash
args=("$@")
args+=(foo)
args+=(bar)
baz "${args[@]}"
```
Put the arguments into an array and then append to the array.
### Functions
```bash