Timeline for Joining bash arguments into single string with spaces
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 15, 2023 at 19:08 | review | Suggested edits | |||
| Mar 17, 2023 at 16:13 | |||||
| Jan 4, 2021 at 12:45 | comment | added | Kusalananda♦ | This does not seem to produce the output that the user wants. There are no single quotes around the outputted string. Also, "$@" is a list of individually quoted entries. To get the positional parameters as a single string, use "$*" as is shown in the accepted answer. | |
| Apr 22, 2015 at 2:32 | history | answered | Klaatu von Schlacker | CC BY-SA 3.0 |