Automation, Orchestration, and Scripting

A script runs set -- alpha beta gamma, then IFS=, on the next line, and then echo "$*". What does the echo command print?

Show the answer

Correct answerB. alpha,beta,gamma

Inside double quotes, "$*" joins the positional parameters using the first character of IFS, which is now a comma. A space-separated result would only occur with the default IFS. Printing each parameter on its own line is not what "$*" does.