Joining 'fish shell' arguments into a single string with spaces
2
votes
1
answer
298
views
Sorry, this question is already answered for 'bash' here:
Joining bash arguments into single string with spaces .
in Fish, using
"'$*'"
leads to this error:
$* is not supported. In fish, please use $argv.
but I can't figure out how to join $argv elements to a single string with space between them.
I also tried the "${@}"
solution, which also doesn't work.
Asked by MHM
(83 rep)
Jul 17, 2024, 06:22 AM
Last activity: Jul 17, 2024, 01:33 PM
Last activity: Jul 17, 2024, 01:33 PM