Skip to main content
Became Hot Network Question
added 94 characters in body
Source Link
MHM
  • 83
  • 1
  • 7

Sorry, this question is already answered for 'bash' here: Joining bash arguments into single string with spaces.

but 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.

Sorry, this question is already answered for 'bash' here: Joining bash arguments into single string with spaces.

but in Fish, using "'$*'" leads to this error: $* is not supported. In fish, please use $argv.

I also tried the "${@}" solution, which also doesn't work.

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.

deleted 1 character in body
Source Link
MHM
  • 83
  • 1
  • 7

Sorry, this question is already answered for 'bash' here: Joining bash arguments into single string with spaces.

but in Fish, using "'$*'" leads to this error: $* is not supported. In fish, please use $argv.

I also tried thatthe "${@}" solution, which also doesn't work.

Sorry, this question is already answered for 'bash' here: Joining bash arguments into single string with spaces.

but in Fish, using "'$*'" leads to this error: $* is not supported. In fish, please use $argv.

I also tried that "${@}" solution, which also doesn't work.

Sorry, this question is already answered for 'bash' here: Joining bash arguments into single string with spaces.

but in Fish, using "'$*'" leads to this error: $* is not supported. In fish, please use $argv.

I also tried the "${@}" solution, which also doesn't work.

Source Link
MHM
  • 83
  • 1
  • 7

Joining 'fish shell' arguments into a single string with spaces

Sorry, this question is already answered for 'bash' here: Joining bash arguments into single string with spaces.

but in Fish, using "'$*'" leads to this error: $* is not supported. In fish, please use $argv.

I also tried that "${@}" solution, which also doesn't work.