I'm trying to pass multiple argument to a function, but one of them is consist of two words and I want shell function to deal with it as one arg:
args=("$@") function(){ echo ${args[0]} echo ${args[1]} echo ${args[2]} } when iI call this command `sh shell hi hello guys byesh shell hi hello guys bye
I get this
hi hello guys butBut what I really want is:
hi hello guys bye